to_labelled: Convert to labelled

Description Usage Arguments Note Author(s) Examples

Description

Reverses the process from from_labelled, and uses a measurement model to create labelled variables and add label to the attributes of each variable in the data. Meant for use with survey objects from survey.

Usage

1

Arguments

survey

A survey object, or a list with data (df) and a measurement model (mm).

Note

The results are error-prone. Carefully check the results.

Author(s)

Kristian D. Olsen

Examples

1
read_data("test.sav") %>% from_labelled() %>% to_labelled()

itsdalmo/reporttool documentation built on May 18, 2019, 7:11 a.m.