Learn R Programming

⚠️There's a newer version (0.1.5) of this package.Take me there.

cocons (version 0.1.3)

Covariate-Based Covariance Functions for Nonstationary Spatial Modeling

Description

Estimation, prediction, and simulation of nonstationary Gaussian process with modular covariate-based covariance functions. Sources of nonstationarity, such as trend, variance, geometric anisotropy, smoothness, and nugget, can be considered based on spatial characteristics. An induced compact-supported nonstationary covariance function is provided, enabling fast and memory-efficient computations when handling densely sampled domains.

Copy Link

Version

Install

install.packages('cocons')

Monthly Downloads

263

Version

0.1.3

License

GPL (>= 3)

Maintainer

Federico Blasi

Last Published

October 15th, 2024

Functions in cocons (0.1.3)

getBoundaries

Simple build of boundaries
getEstims

Retrieve estimates from a fitted coco object
getCIs

Compute approximate confidence intervals for a coco object
cov_rns_pred

Dense covariance function
plot,coco,missing-method

Plot Method for coco objects
cov_rns_taper

Sparse covariance function
getDesignMatrix

Create an efficient design matrix based on a list of aspect models
getCovMatrix

Covariance matrix for "coco" class
plotOptimInfo

Plot log info detailed
getAIC

Retrieve AIC
getScale

Fast and simple standardization for the design matrix.
getModHess

Retrieves the modified inverse of the hessian
getModelLists

Builds the necessary input for building covariance matrices
cov_rns_classic

Dense covariance function (classic parameterization)
getHessian

getHessian
getSpatEffects

Evaluates the spatially-varying functions from a coco object at locs
getCRPS

Based on a set of predictions computes the Continuous Ranked Probability Score
getTrend

Computes the spatial trend of a (fitted) coco object
holes

Holes Data Set
getLogScore

Based on a set of predictions computes the Log-Score
is.formula

check whether an R object is a formula
holes_bm

Holes with trend + multiple realizations Data Set
getLoglik

Retrieve the loglikelihood value
show

Show Method for Coco Class
stripes

Stripes Data Set
summary

Summary Method for Coco Class
GetNeg2loglikelihoodTaper

GetNeg2loglikelihoodTaper
GetNeg2loglikelihoodTaperProfile

GetNeg2loglikelihoodTaperProfile
cocoSim

Marginal and conditional simulation of nonstationary Gaussian processes
GetNeg2loglikelihoodProfile

GetNeg2loglikelihoodProfile
cocoOptim

Optimizer for Nonstationary Spatial Models
coco-class

An S4 class to store information
GetNeg2loglikelihood

GetNeg2loglikelihood
coco

Creates a coco S4 object
cov_rns

Dense covariance function (difference parameterization)
cocoPredict

Prediction Routines for Nonstationary Spatial Models
cov_rns_taper_pred

Sparse covariance function
getBoundariesV2

Simple build of boundaries (v2)
getBoundariesV3

Simple build of boundaries (v3)
getBIC

Retrieve BIC
cocons-package

Covariate-based Covariance Functions for Nonstationary Gaussian Processes