ccaps62_cuts: Create CCAPS-62 cut points

View source: R/CCAPS62_cuts.R

ccaps62_cutsR Documentation

Create CCAPS-62 cut points

Description

Creates binary variables for CCAPS-62 subscales indicating whether the score is equal to or above (1) or below (0) the low and high cut respectively.

Usage

ccaps62_cuts(data, version = 2019, first = F)

Arguments

data

A data file containing CCAPS-62 subscales

version

The version of CCAPS cut points to use. Currently, 2018 & 2019 are available.

first

True indicates the cut points should be based on variabels with _first.

Value

A data frame with all the original data in data, and several additional columns of cut scores coded 1 for above cut score and 0 for below cut score.

Note

If data does not contain the proper CCAPS subscale names, it will return an error.

Examples

## Not run: 
TI1718 <- ccaps62_lowcut(TI1718)

## End(Not run)

CCMH-PSU/CCMHr documentation built on Jan. 31, 2024, 1:08 a.m.