describe_data | R Documentation |
Calculate key descriptive statistics for a given set of data.
describe_data(data, data_name, criterion_name, baseline_value)
data |
A data frame with a criterion variable |
data_name |
A character string specifying a name for the data. |
criterion_name |
A character string specifying the criterion name. |
baseline_value |
The value in |
A data frame with the descriptive statistics.
data(heartdisease)
describe_data(heartdisease, "heartdisease",
criterion_name = "diagnosis",
baseline_value = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.