CGGPplotblocks: CGGP block plot

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
# 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)

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