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

  • transform

Examples

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


Search within the metrumrg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.