| pp_pda | R Documentation |
Creates a Penalized Discriminant Analysis (PDA) projection pursuit strategy
for use with pptr or pprf.
pp_pda(lambda = 0)
lambda |
A regularization parameter between 0 and 1.
If |
A pp_strategy object.
pptr, pprf, vars_uniform, vars_all, cutpoint_mean_of_means
# PDA with lambda = 0.5
pp_pda(0.5)
# Use with pptr
pptr(Species ~ ., data = iris, pp = pp_pda(0.5))
# Use with pprf
pprf(Species ~ ., data = iris, pp = pp_pda(0.5), vars = vars_uniform(n_vars = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.