Description Usage Arguments Value Author(s) See Also Examples
The describeSC
function provides common descriptive statistics for
single-case data.
1 | describeSC(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. |
A data frame of descriptive statistics (for each single-case), i.e.: number of observations, number of missing values, measures of central tendency, variation, and trend.
Juergen Wilbert
1 2 3 4 5 6 7 8 9 10 11 12 | ## Descriptive statistics for a study of three single-cases
describeSC(Grosche2011)
## Descriptives of a three phase design
describeSC(exampleABC)
## Not run:
## Write descriptive statistics to .csv-file
study <- describeSC(Waddell2011)
write.csv(study$descriptives, file = "descriptives.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.