Package: snapKrig 0.0.2.9000

Dean Koch

snapKrig: Fast Kriging and Geostatistics on Grids with Kronecker Covariance

Geostatistical modeling and kriging with gridded data using spatially separable covariance functions (Kronecker covariances). Kronecker products in these models provide shortcuts for solving large matrix problems in likelihood and conditional mean, making 'snapKrig' computationally efficient with large grids. The package supplies its own S3 grid object class, and a host of methods including plot, print, Ops, square bracket replace/assign, and more. Our computational methods are described in Koch, Lele, Lewis (2020) <doi:10.7939/r3-g6qb-bq70>.

Authors:Dean Koch [aut, cre, cph]

snapKrig_0.0.2.9000.tar.gz
snapKrig_0.0.2.9000.zip(r-4.5)snapKrig_0.0.2.9000.zip(r-4.4)snapKrig_0.0.2.9000.zip(r-4.3)
snapKrig_0.0.2.9000.tgz(r-4.4-any)snapKrig_0.0.2.9000.tgz(r-4.3-any)
snapKrig_0.0.2.9000.tar.gz(r-4.5-noble)snapKrig_0.0.2.9000.tar.gz(r-4.4-noble)
snapKrig_0.0.2.9000.tgz(r-4.4-emscripten)snapKrig_0.0.2.9000.tgz(r-4.3-emscripten)
snapKrig.pdf |snapKrig.html
snapKrig/json (API)
NEWS

# Install 'snapKrig' in R:
install.packages('snapKrig', repos = c('https://deankoch.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/deankoch/snapkrig/issues

On CRAN:

5.05 score 5 stars 15 scripts 141 downloads 36 exports 0 dependencies

Last updated 22 days agofrom:2d80262f49. Checks:OK: 3 NOTE: 3 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winNOTENov 01 2024
R-4.5-linuxNOTENov 01 2024
R-4.4-winNOTENov 01 2024
R-4.4-macERRORNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:sksk_add_binssk_bdssk_cmeansk_coordssk_corrsk_corr_matsk_exportsk_fitsk_GLSsk_kpsk_LLsk_makesk_mat2vecsk_nLLsk_parssk_pars_makesk_pars_updatesk_plotsk_plot_parssk_plot_semisk_rescalesk_sample_ptsk_sample_vgsk_simsk_snapsk_subsk_sub_findsk_sub_idxsk_to_stringsk_toep_multsk_validatesk_varsk_var_multsk_vario_funsk_vec2mat

Dependencies:

Introduction to snapKrig

Rendered fromsnapKrig_introduction.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2023-03-11
Started: 2022-12-09

Readme and manuals

Help Manual

Help pageTopics
Extract a sk list element (single-bracket access)[.sk
sk_methods.R Dean Koch, 2022 S3 methods for sk grid list objects[[.sk<-
Single-bracket assign[<-.sk
Check for presence of grid points with missing data (NAs)anyNA.sk
Coerce grid values to numeric (double type)as.double.sk
Coerce grid values to integeras.integer.sk
Coerce grid values to logicalas.logical.sk
convert to matrixas.matrix.sk
Convert grid data to vector of specified modeas.vector.sk
Grid dimensionsdim.sk
Indices of grid points with missing data (NAs)is.na.sk
The number of grid-pointslength.sk
Math group genericsMath.sk
Calculate the mean value in a gridmean.sk
Operations group genericsOps.sk
Heatmap plotsplot.sk
Auto-printingprint.sk
Make a snapKrig grid list objectsk
Compute kriging predictor (or variance) for an sk gridsk_cmean
Return coordinates of a grid of points in column-vectorized ordersk_coords
Convert "sk" grid to SpatRastersk_export
Fit a covariance model to an sk grid by maximum likelihoodsk_fit
Generalized least squares (GLS) with Kronecker covariances for sk gridssk_GLS
Likelihood of covariance model 'pars' given the data in sk grid 'g'sk_LL
Negative log-likelihood for parameter vector 'p'sk_nLL
Initialize Kronecker covariance function parameters for a sk gridsk_pars
Plot grid datask_plot
Plot the covariance structure of a snapKrig modelsk_plot_pars
Plot a semi-variogramsk_plot_semi
Up or down-scale a sk grid by an integer factorsk_rescale
Sample point pair absolute differences for use in semi-variogram estimationsk_sample_vg
Random draw from multivariate normal distribution for sk gridssk_sim
Snap a set of points to a "sk" gridsk_snap
Generate a covariance matrix or its factorizationsk_var
Grid summarysummary.sk