CGGPplotblockselection | R Documentation |
Shows the order in which blocks were selected for each dimension. Gives an idea of how the selections change over time.
CGGPplotblockselection(CGGP, indims)
CGGP |
CGGP object |
indims |
Which input dimensions should be shown? |
ggplot2 object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.