The describe()
function provides common descriptive statistics for
single-case data.
describe(data, dvar, pvar, mvar)
A list containing a data frame of descriptive statistics (descriptives); the cse design (design); the number of cases (N)
A single-case data frame. See scdf()
to learn about this
format.
Character string with the name of the dependent variable. Defaults to the attributes in the scdf file.
Character string with the name of the phase variable. Defaults to the attributes in the scdf file.
Character string with the name of the measurement time variable. Defaults to the attributes in the scdf file.
Juergen Wilbert
n = number of measurements; mis = number of missing vaues; m = mean; md = median; sd = standard deviation; mad = median average deviation; min = minimum; max = maximum; trend = weight of depended variable regressed on time (values ~ mt).
overlap()
, plot.scdf()
## Descriptive statistics for a study of three single-cases
describe(Grosche2011)
## Descriptives of a three phase design
describe(exampleABC)
## Write descriptive statistics to .csv-file
study <- describe(Waddell2011)
write.csv(study$descriptives, file = tempfile())
Run the code above in your browser using DataLab