pecc_count | R Documentation |
We often have a boolean column (responder = 1, non responder = 0 for instance). Pecc_count create a table with the number of occurence (value = 1) divided by the number of total patients with or without specific categorical covariate (two can be simultaneously analyzed)
pecc_count(df, metric, col_cov = NULL, row_cov = NULL, str_input = F)
df |
Name of the dataframe to analyse |
metric |
Name of the column metric (NSA) |
col_cov |
Name of the first column |
row_cov |
Name of the second column |
str_input |
If true, metric, col_cov and row_cov argument must be strings. If False (default), provide expressions (unquoted arguments) |
Thibaud Derippe (Thibaud.Derippe@gmail.com)
pecc_count(mtcars,metric = vs, col_cov = cyl, row_cov = carb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.