Performs subsequently a normalization of the input data and creating spline basis based on the user defined input
transformdata(
x,
standardize = c("interval", "zscore", "none"),
spline.knots = 0,
spline.degree = 1
)
transformed data in spline basis or (in case of no spline) a normalized vector
a single column of values as input for the data transformation
Either a string value denoting a predefined scaling, or a
list with values a
and b
corresponding with the numeric
centering and scaling, that is, using the function
x * standardize$b - standardize$a
.
Number of inner knots to use. isb
will equally
distribute the knots over the value range using quantiles.
spline.knots
will only be used if knots
is not given.
The polynomial degree of the spline basis.