Overlap indices for single-case data
The overlap
function provides the most common overlap indices for
single-case data and some additional statistics.
overlap(data, dvar, pvar, mvar, decreasing = FALSE, phases = c(1, 2)) overlapSC(...)
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. |
decreasing |
If you expect data to be lower in the B phase, set
|
phases |
A vector of two characters or numbers indicating the two
phases that should be compared. E.g., |
... |
Further arguments passed to the function. |
overlap |
A data frame consisting of the following indices for each single-case for all cases: PND, PEM, PET, NAP, PAND, Tau-U (A vs. B - Trend A), Diff_mean, Diff_trend, SMD. |
phases.A |
Selection for A phase. |
phases.B |
Selection for B phase. |
design |
Phase design. |
Juergen Wilbert
## Display overlap indices for one single-case overlap(Huitema2000, decreasing = TRUE) ## Display overlap indices for six single-cases overlap(GruenkeWilbert2014) ## Combining phases for analyszing designs with more than two phases overlap(exampleA1B1A2B2, phases = list(c("A1","A2"), c("B1","B2")))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.