plot {sobolnp}R Documentation

Plot method for objects sobolnp

Description

Plot the Sobol indices based in a non-parametric regression with cross-validation and bootstrap bandwidth

Usage

plot(snp, ...)

## S3 method for class 'sobolnp'
plot(snp, ...)

Arguments

snp

an object of class sobolnp

...

further arguments passed to the plot function

Value

A formatted table with the results of the sobolnp function.

Examples


ishigami.fun <- function(X) {
A <- 7
B <- 0.1
sin(X[, 1]) + A * sin(X[, 2])^2 + B * X[, 3]^4 * sin(X[, 1])
}

X <- matrix(runif(3*100, -pi, pi), ncol = 3)
Y <- ishigami.fun(X)

estimation <- sobolnp(Y = Y, X = X, nboot = 5)

plot(estimation)


[Package sobolnp version 0.1.0 Index]