sFFLHD_Lflex: sFFLHD with flexible L

Description Usage Format Value Fields Examples

Description

R6 object that gives uses a sFFLHD with L near the requested one, but gives them back in the requested L

Usage

1

Format

An object of class R6ClassGenerator of length 24.

Value

A sFFLHD_Lflex object

Fields

D

numeric. The number of dimensions for the design. Must be set.

L

numeric. The number of points in each batch, also the number of levels of each dimension. Must be set.

b

integer. The batch number.

s

sFFLHD. The design it takes the points and then reorders them.

X

matrix. The points given in the design.

X_choices

matrix. Points taken from s and have been reordered, but which have not been returned to the user yet.

Examples

1
2
3
4
5
6
s <- sFFLHD_Lflex$new(D=8,L=4)
s$get.batch()
# sFFLHD(D=7,L=10)$get.batch() doesn't work, needs L=7,8,9,11
s <- sFFLHD_Lflex$new(D=7,L=10) # Uses L=9
s$get.batch()
s <- sFFLHD_Lflex$new(D=7,L=10, prefer_L="up") # Should use 11

CollinErickson/sFFLHD documentation built on May 6, 2019, 12:28 p.m.