normWithin | R Documentation |
normWithin norms the data within specified groups in a data frame
normWithin(data = NULL, idvar, measurevar, betweenvars = NULL, na.rm = TRUE)
data |
a dataframe |
idvar |
the name of the column that identifies each subject |
measurevar |
the name of a column that contains the variable to be summariezed |
betweenvars |
a vector containing names of columns that are between-subjects variables |
na.rm |
boolean that indicates whether to ignore NA's |
a data.frame
## Not run: normWithin(data = sleep, idvar = "ID", measurevar = "extra", betweenvars = "group") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.