You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!(pve== floor(pve))){stop('pve must be either a floating point number smaller than 1 or an integer number smaller than the number of pc. Value provided: ', pve)}
81
81
if(pve> ncol(scores)){stop('pve must be either a floating point number smaller than 1 or an integer number smaller than the number of pc. Value provided: ', pve)}
#' @param Y \eqn{(N \times P)} matrix of predictive variables.
333
335
#' @param folds Integer number indicating number of folds.
334
336
#' @param seed Seed for the random generator number.
335
-
#' @return A list containing two inside lists, one for training and one for testing. The length of the inside lists is equal to the number of folds
337
+
#' @return A list containing three inside lists, one for training, one for testing and one with training indices.. The length of the inside lists is equal to the number of folds
0 commit comments