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

Description Usage Arguments Value See Also Examples

View source: R/refset.R

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)

refset documentation built on Dec. 10, 2017, 5:02 p.m.