Description Usage Arguments Author(s) Examples
Generates confidence intervals of a dissever output using bootstraping
1 2 3 | ## S4 method for signature 'list,RasterStack'
generate_ci(object, covariates, level = 0.9,
n = 50L)
|
object |
object of class |
covariates |
object of class |
level |
If this is a numeric value, it is used to derive confidence intervals using quantiles. If it is a function, it is used to derive the uncertainty using this function. |
n |
the number of bootstrap replicates used to derive the confidence intervals |
Pierre Roudier
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Load the Edgeroi dataset (see ?edgeroi)
data(edgeroi)
# Create a dissever output
diss <- dissever(
coarse = edgeroi$carbon,
fine = edgeroi$predictors,
method = "lm",
min_iter = 5, max_iter = 10,
p = 0.05
)
# Generate the confidence intervals
## Not run:
ci <- generate_ci(diss, edgeroi$predictors, n = 5)
plot(ci)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.