View source: R/summarize_continuous_covariates.R
summarize_continuous_covariates | R Documentation |
Summarizes the selected continuous covariates: number of values, mean, median, quantiles and range.
summarize_continuous_covariates(
run,
covariates = NULL,
quantiles = c(0.05, 0.25, 0.75, 0.95),
baseline_only = TRUE
)
run |
|
covariates |
character vector of continous covariates names. Default is
|
quantiles |
numeric vector of quantiles. Default are 5th, 25th, 75th and 95th percentiles. |
baseline_only |
logical. Consider only the baseline (= first) values of the subjects. Default is
|
A data frame.
EXAMPLERUN %>% summarize_continuous_covariates()
EXAMPLERUN %>% summarize_continuous_covariates(quantiles = seq(0.05, 0.95, 0.05))
EXAMPLERUN %>% summarize_continuous_covariates(quantiles = NULL)
EXAMPLERUN %>% group_by(STUD) %>% summarize_continuous_covariates()
EXAMPLERUN %>% group_by(STUD) %>% summarize_continuous_covariates(quantiles = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.