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
When people need to use add_p() with correlated data, the grouped variable must first be included in tbl_summary() and when add_p() sees the variable in add_p(group=) that line is omitted from the summary table.
This process is not intuitive, and when the correlated data field is patient ID, t the summary table takes a very long time to run. Proposed changes:
Add include= argument to tbl_summary(). We can easily exclude a data column from the summary table, but it will still be in data= for use in add_p()
add_p() will no longer remove rows from tbl_summary. BUT, as this is a breaking change, we need to add a message to users using the old version
if include = everythinig() AND group= is not missing, we can print a note with the updated code to get the table they are looking for
The text was updated successfully, but these errors were encountered:
When people need to use
add_p()
with correlated data, the grouped variable must first be included intbl_summary()
and whenadd_p()
sees the variable inadd_p(group=)
that line is omitted from the summary table.This process is not intuitive, and when the correlated data field is patient ID, t the summary table takes a very long time to run. Proposed changes:
include=
argument totbl_summary()
. We can easily exclude a data column from the summary table, but it will still be indata=
for use inadd_p()
add_p()
will no longer remove rows from tbl_summary. BUT, as this is a breaking change, we need to add a message to users using the old versioninclude = everythinig()
ANDgroup=
is not missing, we can print a note with the updated code to get the table they are looking forThe text was updated successfully, but these errors were encountered: