meta.add: Add a meta attribute. Appends to existing meta attribute, if...

View source: R/support.r

meta.addR Documentation

Add a meta attribute. Appends to existing meta attribute, if it exists, overwriting any meta elements with the same name.

Description

Add a meta attribute. Appends to existing meta attribute, if it exists, overwriting any meta elements with the same name.

Usage

meta.add(x, new.meta)

Arguments

x

an object. May have an existing meta attribute.

new.meta

a named vector to add to the meta attribute of x. if an element of new.meta already exists in the x's meta, then the existing meta element will be replaced. if new.meta is NULL, nothing is done.

Value

x with "meta" attribute


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.