i_copy {ilabelled} | R Documentation |
copy labels from one variable to another
Description
copy labels from one variable to another
Usage
i_copy(to, from, what = "all", ...)
Arguments
to |
vector |
from |
vector |
what |
character vector describing which labels are copied: 'all' (default), 'label', 'labels', 'na_values', 'na_range' |
... |
further attributes passed to structure |
Value
Returns 'to' with ilabelled attributes copied from 'from'
[Package ilabelled version 0.9.0 Index]