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.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.