powered by
Used in formula interface to mfp2().
mfp2()
fp( x, df = 4, alpha = 0.05, select = 0.05, shift = NULL, scale = NULL, center = TRUE, acdx = FALSE, powers = NULL )fp2(...)
fp2(...)
The vector x with new attributes relevant for fp-transformation. All arguments passed to this function will be stored as attributes.
x
a vector representing a continuous variable undergoing fp-transformation.
See mfp2()) for details.
a vector of powers to be evaluated for x. Default is NULL and powers = c(-2, -1, -0.5, 0, 0.5, 1, 2, 3) will be used.
NULL
powers = c(-2, -1, -0.5, 0, 0.5, 1, 2, 3)
used in alias fp2 to pass arguments.
fp2
fp2(): Alias for fp() - use in formula when both mfp and mfp2 are loaded to avoid name shadowing.
fp2()
fp()
mfp
mfp2
xr = 1:10 fp(xr) fp2(xr)
Run the code above in your browser using DataLab