dot-init: backend for i_labelled

.initR Documentation

backend for i_labelled

Description

all arguments are passed from i_labelled

Usage

.init(
  x,
  label = NULL,
  labels = NULL,
  na_values = NULL,
  na_range = NULL,
  scale = NULL,
  annotation = NULL,
  wording = NULL,
  subject = NULL,
  ...
)

Arguments

x

vector

label

variable label

labels

value labels as named vector

na_values

missing values (e.g. c(888, 999))

na_range

range of missing values (e.g. c(-9,-1))

scale

scale level (nominal, ordinal, scale)

annotation

additional information about variable

wording

question text

subject

subject

...

further attributes passed to class

Value

x as i_labelled object with attributes applied to it


ilabelled documentation built on April 3, 2025, 10:38 p.m.