Parameters for exponentsSource:
These parameters help model cases where an exponent is of interest (e.g.
spline_degree()) or a product is used (e.g.
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units.
transobject from the
scalespackage, such as
scales::reciprocal_trans(). If not provided, the default is used which matches the units used in
range. If no transformation,
degree() is helpful for parameters that are real number exponents (e.g.
degree_int() is for cases where the exponent should be
The difference between
spline_degree() is the default ranges
(which is based on the context of how/where they are used).
prod_degree() is used by
parsnip::mars() for the number of terms in
interactions (and generates an integer).