Descriptive statistics for single-case data

Share:

Description

The describeSC function provides common descriptive statistics for single-case data.

Usage

1
describeSC(data, decreasing = FALSE)

Arguments

data

A single-case data frame or a list of single-case data frames. See makeSCDF to learn about this format.

decreasing

If you expect data to be lower in phase B, set decreasing = TRUE. At the moment describeSC only reports indices not sensible to decreasing phase B scores, so this does not change the output.

Value

A data frame (or a list of data frames) of descriptive statistics (for each single-case), i.a.: number of observations, number of missing values, measures of central tendency and variation, trend, SMD.

Author(s)

Juergen Wilbert

See Also

overlapSC, plotSC, writeSC

Examples

1
2
3
4
5
6
7
8
9
## Descriptive statistics for one single-case
describeSC(Waddell2011)

## Descriptive statistics for a list of three single-cases
describeSC(Grosche2011)

## Write descriptive statistics to .csv-file
study <- describeSC(Waddell2011)
write.csv(study$descriptives, file = "descriptives.csv")