same_attributes_as: same_attributes_as

Description Usage Arguments Value

View source: R/utils-data.R

Description

Copy attributes from one data system object to another.

Usage

1
same_attributes_as(x, y, copy_strict_flags = TRUE)

Arguments

x

An object (that should get same data system attributes as y)

y

Another object (source of attributes)

copy_strict_flags

A flag if FALSE indicates to not copy the "strict" flags which may not be manipulated later. Namely this avoids copying the title and legacy name. Note the default is copy everything, i.e. TRUE.

Value

x with attributes set to those of y.


rohmin9122/gcam-korea-release documentation built on Nov. 26, 2020, 8:11 a.m.