Learn R Programming

glmBfp (version 0.0-60)

getFpTransforms: 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

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.