A copy of the input data frame with rescaled columns
Arguments
data
A data frame
columns
Vector of integers. The indexes of the columns to be rescaled.
Details
The HSGP covariance function requires that all dimensions are scaled to
[-1,1] as conversion is not automatic. This function will rescale the D
covariance variables to [-1,1]^D while preserving their size relative to
one another.