CGGPplotblocks {CGGP}R Documentation

CGGP block plot

Description

Plot the 2D projections of the blocks of an CGGP object.

Usage

CGGPplotblocks(CGGP, singleplot = TRUE)

Arguments

CGGP

CGGP object

singleplot

If only two dimensions, should a single plot be made?

Value

ggplot2 plot

See Also

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

Examples


# 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)


[Package CGGP version 1.0.4 Index]