View source: R/distribution_functions.R
reasonable_transform | R Documentation |
Produce reasonable linear transformations for any provided parameters from a
bank of tested transformation functions. If no tested transforms exist, returns
the identity
function.
reasonable_transform(parameters = c("pi", "scale"))
parameters |
character, default c("pi", "scale"). Parameters for which to fetch reasonable transformation functions. |
A nested, named list containing forward and back transforms for the named parameters.
# for pi
reasonable_transform("pi")
# for pi and scale
reasonable_transform(c("pi", "scale"))
# when there aren't any banked transformations, returns the identity function
reasonable_transform(c("pi", "not_a_parameter", "scale"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.