You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@anastasia-mbithe after a discussion with @rdstern we have agreed that we should forgo the flexibility that mmtable2 provides for gt() table directly. This is to allow for the flexibility that gt() offers.
Your work on the sub-dialogs is very impressive, and still holds really nicely so we don't need any changes on the sub dialogs from this move. In fact, doing this move will make things a lot easier on future sub-dialog code, and will add even more power to the tables!
The only changes are on the one variable, two/three variable, and (general) tables dialogs where we now remove all mmtable2 code.
I suggest we just focus on the "(general) tables" dialog for now, and can move to the other two later.
Changes:
There is one dialog change needed - and that is to remove the Column Factors nud and instead add in a set of rdos titled Column Factor.
If "Treat summaries as further factor" is not checked: Column Factor has three options -
No column factor
Factor variable (if checked, a single receiver is displayed. This should be restricted to only variables in the factors receiver - this is implemented in another dialog, I'm just trying to remember an example. Do you know?)
Summary-Variable
If "Treat summaries as further factor" is checked: Column Factor has four options - the same two as above, but replace 3. with:
3. Summary
4. Variable
If 1. is checked, then the code is just: summary_table %>% gt()
Describe > Two/Three Variables > Summarise (Two variables tab: if Factor x Factor; Numeric x Factor - although note that NxF is not yet implemented for summary_calculation so this also involves updating summary to summary_calculation)
@anastasia-mbithe after a discussion with @rdstern we have agreed that we should forgo the flexibility that
mmtable2
provides forgt()
table directly. This is to allow for the flexibility thatgt()
offers.Your work on the sub-dialogs is very impressive, and still holds really nicely so we don't need any changes on the sub dialogs from this move. In fact, doing this move will make things a lot easier on future sub-dialog code, and will add even more power to the tables!
The only changes are on the one variable, two/three variable, and (general) tables dialogs where we now remove all
mmtable2
code.E.g. we would replace
with
I suggest we just focus on the "(general) tables" dialog for now, and can move to the other two later.
Changes:
There is one dialog change needed - and that is to remove the
Column Factors
nud and instead add in a set of rdos titledColumn Factor
.If "Treat summaries as further factor" is not checked: Column Factor has three options -
If "Treat summaries as further factor" is checked: Column Factor has four options - the same two as above, but replace 3. with:
3. Summary
4. Variable
If 1. is checked, then the code is just:
summary_table %>% gt()
If 2. is checked, then the code is:
If 3. is checked and "Treat summaries as further factor" is not checked, then the code is:
If 3 is checked and "Treat summaries as further factor" is checked, then the code is:
If 4 is checked:
Does this make sense?
The text was updated successfully, but these errors were encountered: