effectsizescr (version 0.1.0)

TAU: Parker's TAU-U

Description

Nonoverlap and trend for single case research: the TAU-U function of Parker et al. (2011).

Usage

TAU(data1, nameTime = "TIME", namePhase = "DUMMYPHASE",

nameDV = "DV", Aphase = 0, Bphase = 1)

Arguments

data1

a matrix or a dataframe with time,outcome and phases columns

nameTime

the name of the time column

namePhase

the name of the phase column

nameDV

the name of the dependent variable

Aphase

how phase A was coded in the phases column

Bphase

how phase B was coded in the phases column

Value

A list including partition matrix, full matrix and TAU-U analysis

References

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(2), 284-299, doi: 10.1016/j.beth.2010.08.006

Examples

Run this code
# NOT RUN {
data=cbind(rnorm(16),1:16,c(rep(0,8),rep(1,8)))
colnames(data)=c("DV","TIME","PHASE")
TAU(data1=data,nameTime = "TIME",namePhase = "PHASE",
nameDV = "DV")
# }

Run the code above in your browser using DataCamp Workspace