i_copy {ilabelled} | R Documentation |
copy meta information from one variable to another
Description
copy meta information from one variable to another
Usage
i_copy(to, from, what = "all", overwrite = TRUE, ...)
Arguments
to |
vector |
from |
vector |
what |
character vector describing which attributes are copied. When 'all' (default), all attributes are copied. |
overwrite |
overwrite existing attributes when present in attributes of from. |
... |
further attributes passed to structure |
Value
Returns 'to' with attributes copied from 'from'
[Package ilabelled version 1.0.1 Index]