fct_label: Add variable label attributes to class factor. Use after/with...

Description Usage Arguments Value

View source: R/labeltools.R

Description

Add variable label attributes to class factor. Use after/with e.g. fct_case_when() Use haven::labelled() with dplyr::mutate() for numerics and characters

Usage

1
fct_label(x, label)

Arguments

var

Vector of variable names for cross tabs

Value

Data frame with variable labelled


adviceas/adviceverse documentation built on Jan. 9, 2021, 11:58 a.m.