reset_acd | R Documentation |
To be used in fit_mfp()
.
This function resets the acdx
parameter (logical vector) of variables with
less than 5 distinct values to FALSE
.
reset_acd(x, acdx)
x |
a design matrix of dimension nobs x nvars where nvars is the number of predictors excluding an intercept. |
acdx |
a named logical vector of length nvars indicating which continuous
variables should undergo the approximate cumulative distribution (ACD)
transformation. May be ordered differently than the columns of |
Logical vector of same length as acdx
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.