CGGPplothist | R Documentation |
A greater design depth signifies a more important dimension. Thus a larger right tail on the histogram are more important variables.
CGGPplothist(CGGP, ylog = TRUE)
CGGP |
CGGP object |
ylog |
Should the y axis be put on a log scale? |
Histogram plot made using ggplot2
Other CGGP plot functions:
CGGPplotblocks()
,
CGGPplotcorr()
,
CGGPplotheat()
,
CGGPplotsamplesneglogpost()
,
CGGPplotslice()
,
CGGPplottheta()
,
CGGPplotvariogram()
,
CGGPvalplot()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.