print_topsa: print 'topsa' objects

Description Usage Arguments Value Examples

View source: R/print.R

Description

Print method for objects of class topsa.

Usage

1
print_topsa(topsaObj, only.return.table = FALSE, ...)

Arguments

topsaObj

an object of class topsa

only.return.table

if TRUE, returns a data frame with the estimated values. Otherwise, print the data frame in console. Defaults to FALSE

...

further arguments passed to the plot function

Value

Print the threshold used, the box area, manifold embedding area, geometric correlation index and symmetric sensitivity index for and object of class topsa.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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*50, -pi, pi), ncol = 3)
Y <- ishigami.fun(X)

estimation <- topsa(Ydat = Y, Xdat = X)

print(estimation)

maikol-solis/TopSA documentation built on Sept. 24, 2020, 12:53 a.m.