CGGPplotblocks | R Documentation |
Plot the 2D projections of the blocks of an CGGP object.
CGGPplotblocks(CGGP, singleplot = TRUE)
CGGP |
CGGP object |
singleplot |
If only two dimensions, should a single plot be made? |
ggplot2 plot
Other CGGP plot functions:
CGGPplotcorr()
,
CGGPplotheat()
,
CGGPplothist()
,
CGGPplotsamplesneglogpost()
,
CGGPplotslice()
,
CGGPplottheta()
,
CGGPplotvariogram()
,
CGGPvalplot()
# The first and fourth dimensions are most active and will have greater depth
ss <- CGGPcreate(d=5, batchsize=50)
f <- function(x) {cos(2*pi*x[1]*3) + x[3]*exp(4*x[4])}
ss <- CGGPfit(ss, Y=apply(ss$design, 1, f))
ss <- CGGPappend(CGGP=ss, batchsize=100)
CGGPplotblocks(ss)
mat <- matrix(c(1,1,1,2,2,1,2,2,1,3), ncol=2, byrow=TRUE)
CGGPplotblocks(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.