Descriptive statistics for single-case data
The describeSC
function provides common descriptive statistics for
single-case data.
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
## 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.