apply_labs_factor {REDCapTidieR}R Documentation

Apply factor labels to a vector

Description

Apply factor labels to a vector

Usage

apply_labs_factor(x, labels, ...)

Arguments

x

a vector to label

labels

a named vector of labels in the format c(value = label)

...

unused, needed to ignore extra arguments that may be passed

Details

Dots are needed to ignore ptype argument that may be passed to apply_labs_haven

Value

factor


[Package REDCapTidieR version 1.2.3 Index]