Description Usage Arguments Value Author(s) Examples
View source: R/quantile_MC_sgdf.R
Calculates mean from MC realizations for each location in a map.
1 | quantile_MC_sgdf(realizations, ...)
|
realizations |
MC sample saved in SpatialGridDataFrame. |
... |
additional parameters. |
SpatialGridDataFrame; quantiles of a MC sample
Kasia Sawicka
1 2 3 4 5 6 7 8 9 10 11 | set.seed(12345)
data(dem30m, dem30m_sd)
dem_crm <- makeCRM(acf0 = 0.78, range = 321, model = "Exp")
demUM <- defineUM(uncertain = TRUE, distribution = "norm",
distr_param = c(dem30m, dem30m_sd), crm = dem_crm)
## Not run:
dem_sample <- genSample(UMobject = demUM, n = 50, samplemethod = "ugs",
nmax = 20, asList = FALSE)
dem_quantile <- quantile_MC_sgdf(dem_sample, probs = c(0.1, 0.9))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.