Description Usage Arguments Value Author(s) See Also Examples
The overlapSC
function provides the most common overlap indices for
single-case data and some additional statistics.
1 |
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., |
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
Other overlap functions:
corrected_tauSC()
,
nap()
,
pand()
,
pem()
,
pet()
,
pnd()
,
tauUSC()
1 2 3 4 5 6 7 8 | ## Display overlap indices for one single-case
overlapSC(Huitema2000, decreasing = TRUE)
## Display overlap indices for six single-cases
overlapSC(GruenkeWilbert2014)
## Combining phases for analyszing designs with more than two phases
overlapSC(exampleA1B1A2B2, phases = list(c("A1","A2"), c("B1","B2")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.