i_copy: copy meta information from one variable to another

View source: R/copy.R

i_copyR 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'


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