CGGP (version 1.0.1)

CGGPplotblockselection: Plot CGGP block selection over time

Description

Shows the order in which blocks were selected for each dimension. Gives an idea of how the selection schange over time.

Usage

CGGPplotblockselection(CGGP, indims)

Arguments

CGGP

CGGP object

indims

Which input dimensions should be shown?

Value

ggplot2 object

Examples

Run this code
# NOT RUN {
gs <- CGGPcreate(d=3, batchsize=100)
f <- function(x){x[1]^1.2+x[3]^.4*sin(2*pi*x[2]^2*3) + .1*exp(3*x[3])}
y <- apply(gs$design, 1, f)
gs <- CGGPfit(gs, Y=y)
CGGPplotblockselection(gs)
# }

Run the code above in your browser using DataLab