Skip to contents

Convert labelled variable to a factor with corresponding values

Usage

lab_to_fac(var.labelled, print = F)

Arguments

var.labelled

Labelled variable or tibble with a single variable

print

Logical, whether to print a table of correspondence between original and new values. Default is FALSE.