plot_uncertainty {sensobol} | R Documentation |
It creates an histogram with the model output distribution.
plot_uncertainty(Y, n = NULL)
Y |
A numeric vector with the model output. |
n |
An integer with the initial sample size. |
a ggplot2 object.
# Define settings: n <- 100; k <- 8; R <- 10 # Design the sample matrix: A <- sobol_matrices(n = n, k = k, second = FALSE, third = FALSE) # Compute the model output: Y <- sobol_Fun(A) # Plot the model output distribution: plot_uncertainty(Y, n = n)