Description Usage Arguments Details
Compute sensible values from a data set for use as a baseline
1 | reference_values(data, n = 1, at = list())
|
data |
a data frame |
n |
number of values for specified variables: could be a single number or a list assigning a number of levels for individual variables |
at |
optional values at which to set values: a list whose names are the variables whose values are to be set. |
Variables not listed in at
will be assigned levels using these principles:
Categorical variables: the most populated levels.
Quantitative variables: central quantiles, e.g. median for n=1,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.