keep
saves an object to a new object. This is useful
if one wants to save an intermediate result when using pipes.
keep(object, name, pos = 1, envir = as.environment(pos), inherits = FALSE)
Upon saving object
to name
, the value of object
is
returned. This makes it suitable for pipes.
the object that is to be saved into name
.
the name of the new object, containing the value of object
.
where to do the assignment. See ?assign
for more details.
the environment to use. See ?assign
for more details.
should the enclosing framss of the environment be inspected?
See ?assign
for more details.
Mathijs Deen