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

anniejw6/metrumrg documentation built on May 10, 2019, 11:50 a.m.