Comments (4)
Thanks to your code snippet I am currently making some progress on table printing (currently in report), so we can then see if/how it is enhancable and transferable to bayestestR :)
from bayestestr.
However, I am not sure about plot methods... I see plots as end-level stuff, and I had a bad experience in psycho that included some premade plots (I found it difficult to maintain / test) - but please do try changing my mind
On the other hand, though, I agree that (pre-backed) plots are very much appreciated by (beginning) users. So that's something we have to consider either way. Due to the need for deps (ggplot) for cool plots, and the amount of work needed on its own for it to be great, I think it would be safer to put it in a second high-level package devoted to providing plot functions and methods (especially for our objects, such as bayestestR's results).
In my workflow I strongly rely on own-made functions to transform models/results into the "plottable" data, which I then pipe into ggplot's awesomeness. Thus, it could be useful, down the line, if we add an easyplots package, to have two lines of functions: the first "data_for_plot"/"get_plotdata" would transform an object into plottable data, and "plot" would return a default plot (of course, directly calling the latter would internally call the former).
In the end, new users could just do equivalence_test(model) %>% easyplot()
, whereas more advanced users that want to use ggplot manually would do equivalence_test(model) %>% plot_data() %>% ggplot(...
from bayestestr.
That sounds good! I think we should go into this direction. We just need to take care of having not too many fragmented packages - I think I have mentioned this already elsewhere - it doesn't make much sense for our goal to reduce dependencies when we introduce them by ourselves within our own "easyverse" ;-)
from bayestestr.
haha totally true!
Although all the components (aside from the most front-end ones) of the easyverse (I like that though π!) have no to few external deps, so the splitting is mostly a convenience thing for developers for writing and maintaining rather than a weight issue for users.
But yes, we should try not overfragment it.
(but I still do think, for now, that the model's general metrics of fit/performance and parameters analysis aspects will be easier to work on if they are separate... but if the future we see that there is no need for having a dissociated performance and parameters packages, I will be all for merging them
from bayestestr.
Related Issues (20)
- Missing images in BF Vignette HOT 1
- Formatting probability of direction objects fails HOT 7
- Add support for data frames with an `rvar` column HOT 4
- Be consistent with return values across functions
- P-Direction in zero-inflated models HOT 10
- error using describe_posterior HOT 3
- bayestestR broken after revising `pd()`. HOT 13
- Iris data example for Bayes Factor: with or without random effect? HOT 3
- "LogBF = Inf" problem HOT 5
- Issues with blavaan HOT 2
- Workflow badges not updating? HOT 9
- Infinite probability? HOT 2
- mediation with censored data using brm and bayestestR
- Is a directional p_rope possible? HOT 1
- hdi() fails with brms model outputs HOT 9
- CRAN submission HOT 11
- Flexible ROPE values for describe_posterior HOT 1
- Question on contr.equalprior function
- `bayesian_as_frequentist()` fails for brms `0 + Intercept` formula HOT 4
- Avoid resampling priors for `brmsfit` objects that contain prior samples HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bayestestr.