wrapset: Convenience function to create a parcel containing a refset.

Description Usage Arguments Value See Also Examples

Description

wrapset calls refset on its arguments and returns the resulting active binding in a parcel object for passing around.

Usage

1

Arguments

data, ...

passed to refset

env

passed to refset as argument eval.env

Value

A parcel object.

See Also

Other wrapping functions: contents, is.parcel, unwrap_as, wrap

Examples

1
2
3
dfr <- data.frame(a=1:5, b=1:5)
parcel <- wrapset(dfr, a<3, , drop=FALSE)
contents(parcel)

hughjonesd/refset documentation built on May 17, 2019, 9:12 p.m.