sFFLHD v0.1.2

0

Monthly downloads

0th

Percentile

Sequential Full Factorial-Based Latin Hypercube Design

Gives design points from a sequential full factorial-based Latin hypercube design, as described in Duan, Ankenman, Sanchez, and Sanchez (2015, Technometrics, <doi:10.1080/00401706.2015.1108233>).

Readme

sFFLHD

Travis-CI Build
Status CRAN\_Status\_Badge

This R package provides a class that generates experiment sFFLHD designs. Sequential full factorial-based Latin hypercube design were created by Duan, Ankenman, Sanchez, and Sanchez (2015, Technometrics).

To create a new design you use the function sFFLHD$new and must give in the number of dimensions, D, and the batch size/number of levels per factor, L. An example is shown below (the last line can be repeated when run in console to see how new batches are added).

library(sFFLHD)
#> Loading required package: DoE.base
#> Loading required package: grid
#> Loading required package: conf.design
#> 
#> Attaching package: 'DoE.base'
#> The following objects are masked from 'package:stats':
#> 
#>     aov, lm
#> The following object is masked from 'package:graphics':
#> 
#>     plot.design
#> The following object is masked from 'package:base':
#> 
#>     lengths
set.seed(0)
s <- sFFLHD$new(D=2,L=3)
plot(s$get.batch(),xlim=0:1,ylim=0:1,pch=19)
abline(h=(0:(s$Lb))/s$Lb,v=(0:(s$Lb))/s$Lb,col=3);points(s$get.batch(),pch=19)

By default the new points are selected using maximin distance optimization to spread them out. This is why points will end up near corners. This option will slow down the code a little but generally not noticeably compared to what the design is used for. If set to FALSE then the points are randomly placed within their small grid box.

Functions in sFFLHD

Name Description
sFFLHD-class sFFLHD object that gives a batch of points at a time.
sFFLHD_Lflex sFFLHD with flexible L
split_matrix Split a matrix by rows, based on either the number of rows per group or number of splits.
sFFLHDmm sFFLHD maximin
No Results!

Last month downloads

Details

Type Package
License GPL-3
LazyData TRUE
RoxygenNote 6.0.1
URL https://github.com/CollinErickson/sFFLHD
BugReports https://github.com/CollinErickson/sFFLHD/issues
NeedsCompilation no
Packaged 2018-05-17 05:24:16 UTC; cbe117
Repository CRAN
Date/Publication 2018-05-17 05:35:25 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/sFFLHD)](http://www.rdocumentation.org/packages/sFFLHD)