DoE.base-package: Full factorials, orthogonal arrays and base utilities for DoE...

Description Details Acknowledgments Author(s) References See Also


This package creates full factorial designs and designs from orthogonal arrays. In addition, it provides some basic utilities like an exporting function for the DoE packages FrF2, DoE.wrapper and RcmdrPlugin.DoE, and some diagnostics for general orthogonal arrays (generalized word length calculations).


The package is still in under development phase. Details about combining designs are particularly likely to be changed in the future (, Please contact me, if you have suggestions.

This package designs full factorial experiments (function and experiments based on orthogonal arrays ( Some aspects of functions and have been modeled after the functions of the same name given in Chambers and Hastie (1993) (e.g. for the option factor.names or for outputting a data frame with attributes). However, S compatibility has not been considered in devising this package.

The orthogonal arrays underlying function are mainly taken from Kuhfeld (2009). While the arrays generally guarantee estimability of main effects in case there are no (or negligible) active interactions, some of them can also be used for designs for which some interactions are to be estimated, if only few of the design columns are used for experimentation. Optimization for such purposes and check of fitness for such purposes is supported, cf. generalized.word.length.

The package provides class design for use also by packages FrF2, DoE.wrapper and RcmdrPlugin.DoE. Furthermore, it provides utilities for printing, plotting, summarizing, exporting and combining experimental designs. Package FrF2 relies on function for full factorials in 2-level factors.


Thanks are due to Peter Theodor Wilrich for various useful suggestions in the early phase of this project!


Ulrike Groemping

Maintainer: Ulrike Groemping <[email protected]>


Chambers, J.M. and Hastie, T.J. (1993). Statistical Models in S, Chapman and Hall, London.

Groemping, U. (2018). R Package DoE.base for Factorial Designs. Journal of Statistical Software 85(5), 1–41.

Hedayat, A.S., Sloane, N.J.A. and Stufken, J. (1999) Orthogonal Arrays: Theory and Applications, Springer, New York.

Kuhfeld, W. (2009). Orthogonal arrays. Website courtesy of SAS Institute

See Also

Functions, for generating designs, and various functions (generalized.word.length) for optimizing and checking a designs properties,
class design which is utilized also by packages FrF2 and DoE.wrapper.
Furthermore, there are various utility functions like or add.response and functions or for combining designs.
Finally, several methods for class design objects are provided, especially also functions and for automatic generation of linear models (but beware: these are convenience functions that provide a quick first look but NOT necessarily the best statistical approach to analysis!).

DoE.base documentation built on Aug. 23, 2018, 1:03 a.m.