calc_change_label: Calculate change labels for lagged change scores

Description Usage Arguments Value Examples

Description

Calculate change labels for lagged change scores

Usage

1
2
3
4
5
calc_change_label(
  value,
  lag_value,
  change_label = c("high_low", "deterio_improve")
)

Arguments

value

Name of variable with HoNOS score at time point (t)

lag_value

Name of variable with HoNOS score at previous time point (t-1)

change_label

String, specifying whether to describe the change using "high_low" (e.g., HL stands for high to low) or "deterio_improve" (Deterioration, Unchanged, Improved)

Value

Labelled "factor"

Examples

1
2
calc_change_label(value = 0, lag_value = 4,
                  change_label = "deterio_improve")

CDU-data-science-team/honos documentation built on Nov. 7, 2021, 9:20 p.m.