This page lists the arguments for the (internal) "palasso" function(s).
response: vector of length \(n\)
covariates: list of matrices, each with \(n\) rows (samples) and \(p\) columns (variables)
maximum number of non-zero coefficients:
positive numeric, or NULL (no sparsity constraint)
further arguments for cv.glmnet or
glmnet
covariates: matrix with \(n\) rows (samples) and \(k * p\) columns (variables)
options for paired lasso: list of arguments (output from .dims and .args)
number of folds: positive integer (\(>= 10\) recommended)
fold identifiers:
vector of length \(n\),
with entries from \(1\) to nfolds
correlation coefficients: list of \(k\) vectors of length \(p\) (one vector for each covariate set with one entry for each covariate)
lambda sequence: vector of decreasing positive values
model family: character "gaussian", "binomial", "poisson", or "cox"
... loss function: character "deviance", "mse", "mae", "class", or "auc"
matrix with one row for each sample
("gaussian", "binomial" and "poisson"),
or one row for each fold (only "cox"),
and one column for each lambda
(output from .fit)
mean cross-validated loss:
vector of same length as lambda
(output from .loss)