VR12_scale: Scale VR12 items

Description Usage Arguments Value Source See Also Examples

View source: R/VR12.R

Description

Given a tibble with columns named according to the VR12 items, scale them from original 1-based Likert to a 0 to 100 scale. Reverse-coding of items is handled here.

Usage

1
VR12_scale(.data)

Arguments

.data

tibble with at least the following columns: GH1, PF2, PF4, RP2, RP3, RE2, RE3, BP2, MH3, VT2, MH4, SF2, with values 1:n. The columns do not need to be in this order, but do need to be named exactly this.

Value

tibble with same columns, but VR12 items scaled to 0-100.

Source

SAS script

See Also

Other VR12 utilities: VR12_score()

Examples

1
2
3
anchorUtils:::VR12_scale(data.frame(
  GH1 = 2:3, PF2 = 1:2, PF4 = 1:2, RP2 = 2:3, RP3 = 2:3, RE2 = 2:3,
  RE3 = 2:3, BP2 = 2:3, MH3 = 2:3, VT2 = 2:3, MH4 = 1:2, SF2 = 1:2))

anchorlytics/anchorUtils documentation built on Oct. 16, 2020, 7:11 p.m.