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(is.numeric(seasonal.factor) &&dynamic) stop('Hmmm...Seems you have "seasonal.factor" specified and "dynamic = TRUE". Nothing dynamic about static seasonal factors! Please set "dynamic = FALSE" or "seasonal.factor = FALSE"')
if (shrink) Lin.Regression.Estimates<- (Lin.Regression.Estimates+Regression.Estimates_means) /2elseLin.Regression.Estimates<-Regression.Estimates_means
Copy file name to clipboardExpand all lines: R/ARMA_optim.R
+89-16
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
#' @param linear.approximation logical; \code{TRUE} (default) Uses the best linear output from \code{NNS.reg} to generate a nonlinear and mixture regression for comparison. \code{FALSE} is a more exhaustive search over the objective space.
15
15
#' @param pred.int numeric [0, 1]; 0.95 (default) Returns the associated prediction intervals for the final estimate. Constructed using the maximum entropy bootstrap \link{NNS.meboot} on the final estimates.
16
16
#' @param print.trace logical; \code{TRUE} (default) Prints current iteration information. Suggested as backup in case of error, best parameters to that point still known and copyable!
17
+
#' @param ncores integer; value specifying the number of cores to be used in the parallelized procedure. If NULL (default), the number of cores to be used is equal to the number of cores of the machine - 1.
17
18
#' @param plot logical; \code{FALSE} (default)
18
19
#'
19
20
#' @return Returns a list containing:
@@ -36,6 +37,7 @@
36
37
#'
37
38
#' \item{} The number of combinations will grow prohibitively large, they should be kept as small as possible. \code{seasonal.factor} containing an element too large will result in an error. Please reduce the maximum \code{seasonal.factor}.
38
39
#'
40
+
#' \item{} Set \code{(ncores = 1)} if routine is used within a parallel architecture.
0 commit comments