CGGPplotblockselection {CGGP} | R Documentation |
Plot CGGP block selection over time
Description
Shows the order in which blocks were selected for each dimension. Gives an idea of how the selections change over time.
Usage
CGGPplotblockselection(CGGP, indims)
Arguments
CGGP |
CGGP object |
indims |
Which input dimensions should be shown? |
Value
ggplot2 object
Examples
gs <- CGGPcreate(d=3, batchsize=100)
# All dimensions will look similar
CGGPplotblockselection(gs)
# You need to append with CGGPappend after fitting to see a difference
f <- function(x){x[1]^1.2}
y <- apply(gs$design, 1, f)
gs <- CGGPfit(gs, Y=y)
gs <- CGGPappend(gs, 100)
# Now you will see higher for X1 from 100 to 200 while others remain low.
CGGPplotblockselection(gs)
[Package CGGP version 1.0.4 Index]