plotCs: Function for plotting rci and rci class

Description Usage Arguments Value Examples

Description

Function for plotting rci and rci class

Usage

1
2
plotCs(data, pre, post, sigLevel, rtt, consistency, mPath, sdPath, scaleName,
  min, max)

Arguments

data

Data set

pre

The variable containing the values from before the intervention

post

The variable containing the values from after the intervention

sigLevel

The accepted probability for a type I error.

rtt

Test-retest correlation for the used measure. Should be from the relevant population and with no intervention in between

consistency

Estimate for the internal consistency of the used measure.

mPath

Mean score in clinical norm group

sdPath

Standard deviation in clinical norm group

scaleName

Name of the used instrument

min

Theoretical score minimum in instrument used

max

Theoretical score maximum in instrument used

Value

A plot depicting the 7 classes and all CIs

Examples

1
2
plotCs(data=dat, pre="U1_GDS_G", post="U2_GDS_G", sigLevel=.05, consistency=.91, rtt=.83,
mPath=17.4, sdPath=6.8, scaleName="GDS Score", min=0, max=30)

zieglema/ClinicalSig documentation built on June 1, 2019, 6:03 p.m.