R/transform2.R

Defines functions transform2

Documented in transform2

transform2 <- function(`_data`, ...) {
	f <- function(){}
	formals(f) <- eval(substitute(as.pairlist(c(alist(...), `_data`))))
	body(f) <- substitute(modifyList(`_data`, data.frame(...)))
	f()
}

Try the gsubfn package in your browser

Any scripts or data that you put into this service are public.

gsubfn documentation built on May 1, 2019, 8:50 p.m.