Description Usage Arguments Value Examples
This function is still incomplete, for now it only does counts and column total. NEED TO UPDATE!
1 |
df |
A dataframe containing the variables to be used in the analysis. |
reg.exp_lin |
A regular expression identifying the variables that should be used to create the lines of the table. |
reg.exp_col |
A regular expression identifying the variables that should be used to create the columns of the table. |
wgt |
A string identifying the weight variable. If NULL weights are ignored. |
A (dataframe) with the summary table.
1 | df.tab <- tab_summary(df=df,reg.exp_lin='^P1[0-4]$',reg.exp_col='^P2[6-9]$',wgt=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.