Learn R Programming

SpatialFloor (version 1.1.0)

iso_spatial_floor: Isotropic spatial simulation wrapper

Description

This function load grid floor and generate the simulated floor

Usage

iso_spatial_floor(D, cov.var = "exp", nugget = 0, sill, ranges, mu = 0)

Arguments

D

The distance matrix

cov.var

the var-cov function of producing var-cov matrix. 'exp' is exponential, 'gau' is Gaussian

nugget

the nugget value of the var-cov function

sill

the sill(variance, sigma^2) of the var-cov function

ranges

the range value of var-cov function

mu

the mean value of the simulated spatial floor

Value

A vector with the same length of grid floor

Examples

Run this code
# NOT RUN {
D = spatial_dist(expand.grid(1:5, 1:5))
iso_spatial_floor(D, sill=50, ranges=2)
# }

Run the code above in your browser using DataLab