plot_multiscatter {sensobol} | R Documentation |
Pairwise combinations of model inputs with the colour proportional the model output value.
Description
It plots all pairwise combinations of model inputs with the colour proportional the model output value.
Usage
plot_multiscatter(data, N, Y, params, smpl = NULL)
Arguments
data |
The matrix created with |
N |
Positive integer, the initial sample size of the base sample matrix created with |
Y |
A numeric vector with the model output obtained from the matrix created with
|
params |
Character vector with the name of the model inputs. |
smpl |
The number of simulations to plot. The default is NULL. |
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 scatterplot matrix
plot_multiscatter(data = mat, N = N, Y = Y, params = params)
[Package sensobol version 1.1.5 Index]