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


Search within the refset 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.