View source: R/evaluate-dataframe.R
| tf_evaluate.data.frame | R Documentation |
tfs inside a data.frameEvaluate tfs inside a data.frame
## S3 method for class 'data.frame'
tf_evaluate(object, ..., arg)
object |
a |
... |
optional: a selection of |
arg |
optional evaluation grid (vector or list of vectors).
Defaults to |
The arg-argument of tf_evaluate.data.frame method can be a
list of arg-vectors or -lists used as the arg argument for the
tf::tf_evaluate()-method for the respective tf-columns in object.
... is not used for a tf-object, but a second unnamed argument to these
methods will be interpreted as arg.
Replaces tf-columns with list columns of
smaller data.frames containing the functions' arguments (arg) and
evaluations (value) and returns the modified nested dataframe.
Other tidyfun data wrangling functions:
tf_gather(),
tf_nest(),
tf_spread(),
tf_unnest()
d <- dplyr::tibble(id = 1:3)
d$f <- tf_rgp(3, 11L)
str(tf_evaluate(d))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.