Description Usage Arguments Value Examples
View source: R/iso_spatial_floor.R
This function load grid floor and generate the simulated floor
1 | iso_spatial_floor(D, cov.var = "exp", nugget = 0, sill, ranges, mu = 0)
|
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 |
A vector with the same length of grid floor
1 2 | D = spatial_dist(expand.grid(1:5, 1:5))
iso_spatial_floor(D, sill=50, ranges=2)
|
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.2-2 (2019-03-07) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
See https://github.com/NCAR/Fields for
an extensive vignette, other supplements and source code
Loading required package: reshape2
[,1]
1 0.05520319
2 -2.01028770
3 -3.38959816
4 1.55734025
5 9.90729703
6 -9.68414188
7 -3.07561849
8 -11.69186992
9 1.09688208
10 6.73969853
11 -4.14421680
12 2.38157642
13 2.97399100
14 5.98029806
15 9.01263841
16 1.23549336
17 5.21736861
18 1.53198849
19 3.72661346
20 -1.00533684
21 12.40978660
22 5.85079195
23 5.45804577
24 2.37095277
25 7.31495066
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.