Transform estimated values and confidence intervals by applying a function
Source:R/utililties.R
transform_fun.Rd
Transform estimated values and confidence intervals by applying a function
Usage
transform_fun(object, fun = NULL, ...)
# S3 method for smooth_estimates
transform_fun(object, fun = NULL, constant = NULL, ...)
# S3 method for smooth_samples
transform_fun(object, fun = NULL, constant = NULL, ...)
# S3 method for mgcv_smooth
transform_fun(object, fun = NULL, constant = NULL, ...)
# S3 method for evaluated_parametric_term
transform_fun(object, fun = NULL, constant = NULL, ...)
# S3 method for parametric_effects
transform_fun(object, fun = NULL, constant = NULL, ...)
# S3 method for tbl_df
transform_fun(object, fun = NULL, column = NULL, constant = NULL, ...)
Arguments
- object
an object to apply the transform function to.
- fun
the function to apply.
- ...
additional arguments passed to methods.
- constant
numeric; a constant to apply before transformation.
- column
character; for the
"tbl_df"
method, which column to transform.