as_item_desc: Convert HoNOS item numbers to labelled factor

Description Usage Arguments Value Examples

View source: R/descriptions.R

Description

Types of other mental and behavioural problems specified in Item 8 can be labelled using the function as_i8_desc

Usage

1
as_item_desc(x, .ignore_n_items = FALSE)

Arguments

x

Vector of item numbers

.ignore_n_items

Logical, if TRUE the specified vector does not check the item number and assumes that the 18 item "working adults" version that includes current and historical scales.

Value

Labelled "factor"

Examples

1
2
x <- 1:13
as_item_desc(x, n_items = 13)

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