X-Git-Url: https://git.auder.net/?p=valse.git;a=blobdiff_plain;f=pkg%2FR%2Fmain.R;fp=pkg%2FR%2Fmain.R;h=129aa25720ece9d860dce72407f95d1f58767a71;hp=aaf5fc7c8cc4c8250d54a9f748b8db64dd7ab72c;hb=206dfd5d377fac6cbb60f3d19e07521749d120e1;hpb=75b9671477c9093254baedb8e068e70c9b176386 diff --git a/pkg/R/main.R b/pkg/R/main.R index aaf5fc7..129aa25 100644 --- a/pkg/R/main.R +++ b/pkg/R/main.R @@ -24,9 +24,8 @@ #' @param plot TRUE to plot the selected models after run #' #' @return -#' The selected model (except if 'DDSE' or 'DJump' is used to select a model and the collection of models -#' has less than 11 models, the function returns the collection as it can not select one - in that case, -#' it is adviced to use 'AIC' or 'BIC' to select a model) +#' The selected model (except if the collection of models +#' has less than 11 models, the function returns the collection as it can not select one using Capushe) #' #' @examples #' n = 50; m = 10; p = 5 @@ -36,7 +35,7 @@ #' data = generateXY(n, c(0.4,0.6), rep(0,p), beta, diag(0.5, p), diag(0.5, m)) #' X = data$X #' Y = data$Y -#' res = runValse(X, Y) +#' res = runValse(X, Y, kmax = 5) #' X <- matrix(runif(100), nrow=50) #' Y <- matrix(runif(100), nrow=50) #' res = runValse(X, Y)