Get the FP transforms matrix of a given covariate vector

Description

Get the (centered) FP transforms matrix of a given covariate vector, when the corresponding power vector (with at least one element) is provided.

Usage

1
getFpTransforms(vec, powers, center = TRUE)

Arguments

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)

Value

the FP transforms matrix with proper colnames.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.