CGGPplotblockselection: Plot CGGP block selection over time

Description Usage Arguments Value Examples

Description

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

Usage

1

Arguments

CGGP

CGGP object

indims

Which input dimensions should be shown?

Value

ggplot2 object

Examples

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

CollinErickson/CGGP documentation built on May 14, 2021, 4:33 a.m.