geo_sim: Simulate geostatistical data

View source: R/geo_sim.R

geo_simR Documentation

Simulate geostatistical data

Description

Function that simulates zero-mean, spatially autocorrelated data with nugget effect. Simulation procedure uses the Cholesky decomposition method (Cressie, 1993, p. 201).

Usage

geo_sim(coord, cov_type = "exponential", nugg, parsil, range)

Arguments

coord

data.frame with x,y coordinates for simulation.

cov_type

character. Type of covariance model: exponential, gaussian, or spherical; default is exponential.

nugg

nugget parameter

parsil

partial sill parameter

range

range parameter

Value

numeric vector with simulated geostatistical data.

Author(s)

Eric W. Fox


ericwfox/slmrf documentation built on Feb. 24, 2024, 11:02 p.m.