TAU: Parker's TAU-U

Description Usage Arguments Value References Examples

View source: R/TAU.R

Description

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

Usage

1
2
3
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

1
2
3
4
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")

effectsizescr documentation built on May 1, 2019, 8:02 p.m.