Skip to content

Commit 8225d2e

Browse files
committed
debug +2
1 parent 03d0cd5 commit 8225d2e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

R/mddsPLS.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#'
33
#' This function should not be used directly by the user.
44
#'
5-
#' @param Xs A data-frame of a matrix or a list of data-frames or matrices of \emph{n} rows each, the number of individuals. Some rows must be missing. The different matrices can have different numbers of columns. The length of Xs is denoted by \emph{K}.
5+
#' @param Xs A matrix, if there is only one block, or a list of matrices,, if there is more than one block, of \emph{n} rows each, the number of individuals. Some rows must be missing. The different matrices can have different numbers of columns. The length of Xs is denoted by \emph{K}.
66
#' @param Y A matrix of n rows of a vector of length n detailing the response matrix. No missing values are allowed in that matrix.
77
#' @param lambda A real \eqn{[0,1]} where 1 means just perfect correlations will be used and 0 no regularization is used.
88
#' @param R A strictly positive integer detailing the number of components to build in the model.
@@ -273,7 +273,7 @@ MddsPLS_core <- function(Xs,Y,lambda=0,R=1,mode="reg",verbose=FALSE){
273273
#' must be built on. The coefficient lambda regularizes the quality of proximity to the data choosing to forget the least correlated bounds between
274274
#' \eqn{X} and \eqn{Y} datasets.
275275
#'
276-
#' @param Xs A data-frame of a matrix or a list of data-frames or matrices of \emph{n} rows each, the number of individuals. Some rows must be missing. The different matrices can have different numbers of columns. The length of Xs is denoted by \emph{K}.
276+
#' @param Xs A matrix, if there is only one block, or a list of matrices,, if there is more than one block, of \emph{n} rows each, the number of individuals. Some rows must be missing. The different matrices can have different numbers of columns. The length of Xs is denoted by \emph{K}.
277277
#' @param Y A matrix of \emph{n} rows of a vector of length \emph{n} detailing the response matrix. No missing values are allowed in that matrix.
278278
#' @param lambda A real \eqn{[0,1]} where 1 means just perfect correlations will be used and 0 no regularization is used.
279279
#' @param R A strictly positive integer detailing the number of components to build in the model.

R/perf_mddsPLS.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
#' the cross-validation process is made on the given set
55
#' of parameters.
66
#'
7-
#' @param Xs A data-frame of a matrix or a list of data-frames or matrices of
8-
#' $n$ rows each, the number of individuals. Some rows must be missing. The
9-
#' different matrices can have different numbers of columns.
10-
#' @param Y A matrix of n rows of a vector of length n detailing the
7+
#' @param Xs A matrix, if there is only one block, or a list of matrices,, if there is more than one block, of \emph{n} rows each, the number of individuals. Some rows must be missing. The different matrices can have different numbers of columns. The length of Xs is denoted by \emph{K}.
118
#' response matrix. No missing values are allowed in that matrix.
129
#' @param lambda_min A real in \eqn{[0,1]}. The minimum value considered.
1310
#' Default is \eqn{0}.

0 commit comments

Comments
 (0)