View source: R/continuous_table.R
continuous_table | R Documentation |
Takes a data frame and produces grouped or un-grouped summaries such as mean and standard deviation for continuous variables.
continuous_table(
df = .,
...,
group = .,
time = .,
total = TRUE,
digits = 2,
condense = FALSE
)
df |
Data frame |
... |
Variables to be summarised |
group |
Optional variable that defines the grouping |
time |
Optional variable for repeated measures (currently must me used with group) |
total |
Logical indicating whether a total column should be created |
digits |
Number of digits to the right of the decimal point |
condense |
should the |
A tibble data frame summarising the data
continuous_table(df = iris, Petal.Length, Petal.Width, group = Species)
continuous_table(df = iris, Sepal.Length, Sepal.Width, group = Species,
total = FALSE)
continuous_table(df = iris, Petal.Length, Sepal.Length, digits = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.