plot_uncertainty | R Documentation |
It creates an histogram with the model output distribution.
plot_uncertainty(Y, N = NULL)
Y |
A numeric vector with the model output obtained from the matrix created with
|
N |
Positive integer, the initial sample size of the base sample matrix created with |
A ggplot2
object.
# Define settings
N <- 1000; params <- paste("X", 1:3, sep = ""); R <- 10
# Create sample matrix
mat <- sobol_matrices(N = N, params = params)
# Compute Ishigami function
Y <- ishigami_Fun(mat)
# Plot uncertainty
plot_uncertainty(Y = Y, N = N)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.