transformdata | R Documentation |
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)
x |
a single column of values as input for the data transformation |
standardize |
Either a string value denoting a predefined scaling, or a
list with values |
spline.knots |
Number of inner knots to use. |
spline.degree |
The polynomial degree of the spline basis. |
transformed data in spline basis or (in case of no spline) a normalized vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.