Predict method for class big_sp_best_list
.
# S3 method for big_sp_best_list
predict(object, X, ind.row = rows_along(X),
ind.col = attr(object, "ind.col"), covar.row = NULL,
proba = (attr(object, "family") == "binomial"), ...)
Object of class big_sp_best_list
.
A FBM.
An optional vector of the row indices that are used. If not specified, all rows are used. Don't use negative indices.
An optional vector of the column indices that are used. If not specified, all columns are used. Don't use negative indices.
Matrix of covariables to be added in each model to correct
for confounders (e.g. the scores of PCA), corresponding to ind.row
.
Default is NULL
and corresponds to only adding an intercept to each model.
Whether to return probabilities?
Not used.
A vector of scores, corresponding to ind.row
.
big_spLinReg and big_spLogReg.