From b4aae72011be8a1892b5ec71f1848043419c7242 Mon Sep 17 00:00:00 2001 From: Jaume Ramon Date: Mon, 24 Jul 2023 10:32:34 +0200 Subject: [PATCH] modified documentation for loocv parameter --- R/Intlr.R | 4 ++-- R/LogisticReg.R | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/Intlr.R b/R/Intlr.R index 32e08fc..62b7b2a 100644 --- a/R/Intlr.R +++ b/R/Intlr.R @@ -61,7 +61,7 @@ #'@param large_scale_predictor_dimname a character vector indicating the name of the #'dimension in 'predictors' that contain the predictor variables. See parameter 'predictors'. #'@param loocv a logical indicating whether to apply leave-one-out cross-validation when -#'generating the linear regressions. Default to FALSE. +#'generating the linear regressions. Default to TRUE. #'@param region a numeric vector indicating the borders of the region defined in exp. #'It consists of four elements in this order: lonmin, lonmax, latmin, latmax. lonmin refers #'to the left border, while lonmax refers to the right border. latmin indicates the lower @@ -203,7 +203,7 @@ CST_Intlr <- function(exp, obs, lr_method, target_grid = NULL, points = NULL, in #'@param large_scale_predictor_dimname a character vector indicating the name of the #'dimension in 'predictors' that contain the predictor variables. See parameter 'predictors'. #'@param loocv a logical indicating whether to apply leave-one-out cross-validation when -#'generating the linear regressions. Default to FALSE. +#'generating the linear regressions. Default to TRUE. #'@param ncores an integer indicating the number of cores to use in parallel computation. #'The default value is NULL. #'@import multiApply diff --git a/R/LogisticReg.R b/R/LogisticReg.R index 7396fec..29b41b8 100644 --- a/R/LogisticReg.R +++ b/R/LogisticReg.R @@ -59,7 +59,7 @@ #'border, whereas latmax indicates the upper border. If set to NULL (default), the function #'takes the first and last elements of the latitudes and longitudes. #'@param loocv a logical vector indicating whether to perform leave-one-out cross-validation -#'in the fitting of the logistic regression. Default to FALSE. +#'in the fitting of the logistic regression. Default to TRUE. #'@param ncores an integer indicating the number of cores to use in parallel computation. #'The default value is NULL. #'@import multiApply @@ -197,7 +197,7 @@ CST_LogisticReg <- function(exp, obs, target_grid, int_method = NULL, log_reg_me #'border, whereas latmax indicates the upper border. If set to NULL (default), the function #'takes the first and last elements of the latitudes and longitudes. #'@param loocv a logical vector indicating whether to perform leave-one-out cross-validation -#'in the fitting of the logistic regression. Default to FALSE. +#'in the fitting of the logistic regression. Default to TRUE. #'@param ncores an integer indicating the number of cores to use in parallel computation. #'The default value is NULL. #'@import multiApply -- GitLab