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

1
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.


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

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