Description Usage Arguments Value Author(s) References See Also Examples
This function calculates indices of the Tau-U family as proposed by Parker et al. (2011).
1 2 3 4 5 6 7 8 |
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. |
ties.method |
Defines how to handle ties. |
method |
|
phases |
A vector of two characters or numbers indicating the two
phases that should be compared. E.g., |
table |
A data frame containing statistics from the Tau-U family, including: Pairs, positive and negative comparisons, S, and Tau |
matrix |
The matrix of comparisons used for calculating the statistics. |
tau_u |
Tau-U value. |
Juergen Wilbert
Parker, R. I., Vannest, K. J., Davis, J. L., & Sauber, S. B. (2011). Combining Nonoverlap and Trend for Single-Case Research: Tau-U. Behavior Therapy, 42, 284-299.
Other overlap functions:
corrected_tauSC()
,
nap()
,
overlapSC()
,
pand()
,
pem()
,
pet()
,
pnd()
1 2 3 4 5 6 7 8 9 | ## Calculate tau-U for the example from Parker et al. (2011)
bob <- scdf(c(2, 3, 5, 3, 4, 5, 5, 7, 6), B.start = 5)
tauUSC(bob)
## Calculate tau-U with ties counted as positive
tauUSC(Grosche2011$Eva, ties.method = "positive")
## Request tau-U for all single-cases fom the Grosche2011 data
tauUSC(Grosche2011)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.