aug: Augment a List-like Object

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Add named elements to an object.

Usage

1
aug(`_data`, ...)

Arguments

_data

a list-like object

...

name-value pairs

Details

For each extra argument, an attempt is made to assign its value to a like-named element of x (typically a list or data.frame). The augmented object is returned. Similar to transform, but simpler. Each argument will be evaluated first in an environment constructed from _data.

Value

like _data

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

1
head(aug(Theoph,study='b'))

metrumrg documentation built on May 2, 2019, 5:55 p.m.