enframe_general | R Documentation |
This is the workhorse for the enframe_
family of functions.
enframe_general()
evaluates a specified distributional representation
for multiple distributions, and places the results in a data frame
or tibble.
enframe_general(..., at, arg_name, fn_prefix, sep, eval_fn, fn_args = list())
at |
Vector of values to evaluate the cdf at. Must be named when using
in |
arg_name |
For |
fn_prefix |
For |
sep |
When |
eval_fn |
Name of the |
fn_args |
A named list of arguments to pass to the |
If only one distribution is specified in ...
, then the evaluation
column will be named that of fn_prefix
.
If more than one distribution
is specified in ...
, the evaluation columns will be named by the
prefix fn_prefix
followed by the distribution names, with sep
in between.
Distributions are named first by their argument names, if given, or if not,
the input text. Names are then made unique using vctrs::vec_as_names()
with the "unique" names repair. "Unique" is chosen instead of "universal"
because names are anticipated to be syntactic with the eval_fn
prefix;
"minimal" is not sufficient because it may result in columns having the
same names.
A data frame or tibble of the input argument (at
), with the
evaluated distributional representation for each distribution in
...
in its own column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.