getFpTransforms {glmBfp} | R Documentation |
Get the (centered) FP transforms matrix of a given covariate vector, when the corresponding power vector (with at least one element) is provided.
getFpTransforms(vec, powers, center = TRUE)
vec |
positive (== already shifted and scaled) column vector with proper colname |
powers |
power vector with at least one element |
center |
center the columns of the FP transforms matrix around zero? (default) |
the FP transforms matrix with proper colnames.