Learn R Programming

glmBfp (version 0.0-60)

fpScale: Shift and scale a covariate vector (if wished) to have positive and small numbers.

Description

This function is (almost exactly) copied from package “mfp” to be consistent.

Usage

fpScale(x, scaling = TRUE)

Arguments

x

the covariate vector

scaling

should shifting and scaling be performed (default)?

Value

list of ‘shift’ and ‘scale’ parameters appropriate for this covariate vector.