CGGPplothist: Histogram of measurements at each design depth of each input...

Description Usage Arguments Value See Also Examples

View source: R/CGGP_plot.R

Description

A greater design depth signifies a more important dimension. Thus a larger right tail on the histogram are more important variables.

Usage

1

Arguments

CGGP

CGGP object

ylog

Should the y axis be put on a log scale?

Value

Histogram plot made using ggplot2

See Also

Other CGGP plot functions: CGGPplotblocks(), CGGPplotcorr(), CGGPplotheat(), CGGPplotsamplesneglogpost(), CGGPplotslice(), CGGPplottheta(), CGGPplotvariogram(), CGGPvalplot()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# All dimensions should look similar
d <- 8
SG = CGGPcreate(d,201)
CGGPplothist(SG)
CGGPplothist(SG, ylog=FALSE)

# The first dimension is more active and will have greater depth
f <- function(x) {sin(x[1]^.6*5)}
SG <- CGGPcreate(d=5, batchsize=100)
SG <- CGGPfit(SG, apply(SG$design, 1, f))
SG <- CGGPappend(CGGP=SG, batchsize=1000)
CGGPplothist(SG)

CGGP documentation built on May 8, 2021, 5:06 p.m.