.summary.ID | R Documentation |
Summarize a Variable in a Long Dataset by ID
.summary.ID(data, var, idvar, CI = 0.95, robust = FALSE)
data |
A data.table object, long format |
var |
A character string, the name of the variable to summarize |
idvar |
A character string, the name of the grouping variable |
CI |
A numeric value, the confidence interval to use. Default is .95. |
robust |
A logical. Default is |
A data.table object with the mean/median, lower limit, and upper limit of the variable
specified in var
for each level of the grouping variable specified in idvar
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.