plot_uncertainty {sensobol} | R Documentation |
Visualization of the model output uncertainty
Description
It creates an histogram with the model output distribution.
Usage
plot_uncertainty(Y, N = NULL)
Arguments
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 |
Value
A ggplot2
object.
Examples
# 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)
[Package sensobol version 1.1.5 Index]