col1 <- "lightskyblue1"
colT <- "lightskyblue4"
ylim <- c(0,75)
n.points <- 50
#X1
a <- support(fun=ishigami.fun, d=3, xi=1, h=0.01, n=5000, n.points=n.points,
q="qunif", q.arg=list(min=-pi, max=pi), ylim=ylim, xaxt="n", ylab="$X1$")
legend("topleft", legend=c("first-order support index", "total support index"),
fill=c(col1,colT), bty="n")
#x2
support(fun=ishigami.fun, d=3, xi=2, h=0.01, n=5000, n.points=n.points,
q="qunif", q.arg=list(min=-pi, max=pi), ylim=ylim, xaxt="n", ylab="$X2$")
legend("topleft", legend=c("first-order support index", "total support index"),
fill=c(col1,colT), bty="n")
#x3
support(fun=ishigami.fun, d=3, xi=3, h=0.01, n=5000, n.points=n.points,
q="qunif", q.arg=list(min=-pi, max=pi), ylim=ylim, ylab="$X3$")
legend("topleft", legend=c("first-order support index", "total support index"),
fill=c(col1,colT), bty="n")
Run the code above in your browser using DataLab