PROtest: Test effectiveness based on PROs

pro.testR Documentation

Test effectiveness based on PROs

Description

Tests for effectiveness evaluations based on PROs.

Usage

 pro.test(x,y,group,cutoff,x.range,type)

Arguments

x, y

vector of PROs at T0 and T1.

group

Group assignment: control or treatment.

cutoff

Class boundaries to define states. Works only when 'x' and 'y' are numeric.

x.range

Range of the scores for 'x' and 'y'.

type

Data (grouping/binning) type: 'vas', 'nrs', 'wbf'.

Details

To be added.

Value

To be added.

References

To be added.

Examples

states <- c("low", "moderate", "high")
x0 <- sample(states, size=100, replace=TRUE)
x1 <- sample(states, size=100, replace=TRUE)
grp <- c(rep("control",50),rep("treatment",50))
pro.test(x=x0,y=x1,group=grp)

bda documentation built on Sept. 11, 2024, 9:01 p.m.

Related to PROtest in bda...