powered by
This function load grid floor and generate the var-cov matrix via exponential function
iso_spatial_exp(dist.matrix, nugget, sill, ranges)
the a distance matrix generate from spatial_dist function
the nugget value of the var-cov function
the sill(variance, sigma^2) of the var-cov function
the range value of var-cov function
A matrix of var-cov matrix
# NOT RUN { D = spatial_dist(expand.grid(1:5, 1:5)) iso_spatial_exp(D, 0, 3, 1) # }
Run the code above in your browser using DataLab