describe | R Documentation |
The describe()
function provides common descriptive statistics for
single-case data.
describe(data, dvar, pvar, mvar)
data |
A single-case data frame. See |
dvar |
Character string with the name of the dependent variable. Defaults to the attributes in the scdf file. |
pvar |
Character string with the name of the phase variable. Defaults to the attributes in the scdf file. |
mvar |
Character string with the name of the measurement time variable. Defaults to the attributes in the scdf file. |
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).
A list containing a data frame of descriptive statistics (descriptives); the cse design (design); the number of cases (N)
Juergen Wilbert
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())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.