summarySEwithin: Summarizes data, handling within-subjects variables by...

Description Usage

Description

It will still work if there are no within-S variables. Gives count, un-normed mean, normed mean (with same between-group mean), standard deviation, standard error of the mean, and confidence interval. If there are within-subject variables, calculate adjusted values using method from Morey (2008). data: a data frame. 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 withinvars: a vector containing names of columns that are within-subjects variables idvar: the name of a column that identifies each subject (or matched subjects) na.rm: a boolean that indicates whether to ignore NA's conf.interval: the percent range of the confidence interval (default is 95

Usage

1
2
3
summarySEwithin(data = NULL, measurevar, betweenvars = NULL,
  withinvars = NULL, idvar = NULL, na.rm = FALSE, conf.interval = 0.95,
  .drop = TRUE)

armanabraham/aapack documentation built on May 10, 2019, 1:39 p.m.