View source: R/getLarsProposal.R
| getLarsProposal | R Documentation |
Calculates the next LARS step analytically using correlation matrices.
getLarsProposal(
Rx,
active.set,
sign.vector,
current.correlations,
available.vars
)
Rx |
Global correlation matrix (p x p). |
active.set |
Integer vector of active indices. |
sign.vector |
Integer vector of signs for active set. |
current.correlations |
Numeric vector of current correlations with residual. |
available.vars |
Integer vector of candidate indices to search. |
A list containing: next_var, next_sign, gamma, a_vec (for update). Or NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.