- Documentation polished
GetNeg2loglikelihood
,GetNeg2loglikelihoodTaper
, andGetNeg2loglikelihoodTaperProfile
now much faster (~35% faster)
getTrend
now is calledgetSpatMean
cocoPredict
renamed output spatial mean vectors:trend
is now calledsystematic
, whilemean
is calledstochastic
.cocoOptim
reordering of arguments
- Vignette updates, watermark removed
- Documentation polished
- New
holes_bm
dataset with independent realizations and spatial trend
- added a NEWS.md file with version updates / modifications / enhances / etc
- automatized
delta
for methodplot
for coco class. - Better visualization for
plot(cocoOptim object, type = "ellipse")
coco
:- now it is not necessary to provide all models for each source of nonstationarity. Those not specified will be set to those referenced with a stationary 0-mean model (i.e. tilt = 0 , aniso = 0, nugget = -Inf (because of log-parameterization)). If 'smooth' is not specified, then it is set to 0.5.
cocoOptim
:- "auto" option for
ncores
argument forcocoOptim
, providing a convenient number of threads based on the number of parameters to estimate, available threads, and settings of the LBFGSB routine - "safe" argument, which prevents crashes due to ill-posed covariance matrices (Choelsky factorization error)
.cocons.check.convergence
now checks and reports at which iteration ill-posed covariance matrices have been found during the optimization.- now "pmle" works with multiple independent realizations for coco types
dense
andsparse
- safer parallel handling
- "auto" option for
getHessian
more memory efficientcocoSim
:- if provided a fitted coco object, then
pars
argument can beNULL
(default), andcoco.object@output$par
is used instead (and alsotype
is set todiff
). - more memory efficient
- if provided a fitted coco object, then
- safer parallel handling for
getHessian
- polishing of neg2loglikelihood functions, leading to more efficient code
- new and more polished internal functions to assess the validity of arguments (
stopifnot()
instead ofif() stop()
) getCondNumber
optimized- small improvement over cpp functions
- switched
getPen
as an internal function - method
plot
forcoco
objects shows rotation angle of the kernel w.r.t x-axis GetSpateffects
now provides angle w.r.t to x-axis- method "summary" for
coco
objecets (former "print" method) - more proper naming of objects inside functions
- renaming of "cat.vars" to "skip.scale" + associated checks and optimization
getCondNumber
removed, which can be replaced withkappa
function from base R (i.e.kappa(getCovMatrix(coco.object),exact = TRUE)
)
- improve overall help files
- add examples for
coco
,cocoOptim
,cocoPredict
, andcocoSim
- update Vignette
- some bug fixes and overall code polishing
smooth_limits
frominfo
from the coco function is now calledsmooth.limits
to match the style of other arguments (no backward compatibility)- new names for C++ sparse covariance functions
- add warnings of non-convergence of the LBFGSB for
cocoOptim
- bug fixes for coco "methods"
- less redundant code