View source: R/model_smimodel.R
| init_alpha | R Documentation |
Initialises index coefficient vector through linear regression or penalised linear regression.
init_alpha(
Y,
X,
index.ind,
init.type = "penalisedReg",
lambda0 = 1,
lambda2 = 1,
M = 10
)
Y |
Column matrix of response. |
X |
Matrix of predictors entering indices. |
index.ind |
An |
init.type |
Type of initialisation for index coefficients.
( |
lambda0 |
If |
lambda2 |
If |
M |
If |
A list containing the following components:
alpha_init |
Normalised vector of index coefficients. |
alpha_nonNormalised |
Non-normalised (i.e. prior to normalising) vector of index coefficients. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.