-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev #50
dev #50
Conversation
Codecov Report
@@ Coverage Diff @@
## master #50 +/- ##
=======================================
Coverage ? 45%
=======================================
Files ? 29
Lines ? 1382
Branches ? 0
=======================================
Hits ? 622
Misses ? 760
Partials ? 0
Continue to review full report at Codecov.
|
R/model_table.R
Outdated
# Parameters ----------------------------------------------------------------- | ||
if(bootstrap & !info$is_bayesian){ | ||
if(is.null(ci_method) || ci_method %in% c("wald", "boot")) ci_method <- "quantile" # Avoid issues in parameters_bootstrap for mixed models | ||
parameters <- parameters::model_parameters(model, ci = ci, bootstrap = bootstrap, iterations = iterations, p_method = p_method, ci_method = ci_method, ...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p_method
and ci_method
are now integrated in df_method
.
Let's get this big overhaul started 💪 So, as we discussed somewhere, the first step is to get that function that would create the big table (that basically merges the parameters, effectsize and performance tables). I started the Once we have that @strengejacke @mattansb what do you think? |
Sounds good! Basically, I imagine something like these tables, but as textual output which can be easily integrated in non-HTML documents. |
Yup, would it work to have different |
I have no idea about latex... I think we should have an idea in mind how our table looks like. Then we have a data frame that "mimics" this table (with empty "cells" where the table cells should be empty as well), and then we have functions like |
We may also think of adding "layer" (but with |
The idea of focusing on tables first sounds good, as most of our outputs are data.frames anyway. |
python style > R style tho 🙊 The last big step, before merging to master, is to get that flexible yet powerful report() function for regression models. The tricky part is to find the sweet spot between flexibility (having methods that can adapt based on the input) and complexity (avoid having tons of ifelses for all the possible cases). And that's quite a challenge |
Why? Master is currently broken, while dev should be working better. Wouldn't it make sense to have the more stable branch as master? |
Or report_sample?
Alright so for regressions and complex models, It'll be simpler to maintain these smaller chunks |
Sounds good. Should we merge this branch to have something working at master? We could encourage users to test this new version. |
Soon soon, hopefully by tomorrow, once a basic version of report for regressions works |
@strengejacke with the new design I am not sure how to pass down arguments such as `width` (so that the text has a given max width), because in `text_short()` (in report.R) for example, the function just returns the `model_text` object which itself takes charge of printing 😕
my bad, `width` works but must be put it in the print function
Not sure if I'm satisfied by the names of Maybe something like |
Let's merge this, cannot be more broken than it is anyway so...... 😅 |
DO NOT MERGE THIS BRANCH cause it's like super broken, related to the reorganization with effectsize
Fix progress
cite_packages()
format_algorithm()
format_model()
report.htest()
(depends on enhance n_clusters parameters#205)model_table.lm()
report.data.frame()
report_participants()
(report_participant: a report-like output with tables etc. #61)report.bayesfactor()
report.aov()
report.glm()
report.glmer()
report.stanreg()
report.modelbased()
report.easycorrelation()