| fp {mfp2} | R Documentation |
Helper to assign attributes to a variable undergoing FP-transformation
Description
Used in formula interface to mfp2().
Usage
fp(
x,
df = 4,
alpha = 0.05,
select = 0.05,
shift = NULL,
scale = NULL,
center = TRUE,
acdx = FALSE,
powers = NULL
)
fp2(...)
Arguments
x |
a vector representing a continuous variable undergoing fp-transformation. |
df, alpha, select, shift, scale, center, acdx |
See |
powers |
a vector of powers to be evaluated for |
... |
used in alias |
Value
The vector x with new attributes relevant for fp-transformation. All
arguments passed to this function will be stored as attributes.
Functions
-
fp2(): Alias forfp()- use in formula when bothmfpandmfp2are loaded to avoid name shadowing.
Examples
xr = 1:10
fp(xr)
fp2(xr)
[Package mfp2 version 1.0.0 Index]