Fractional Factorial Designs with 2-Level Factors

Regular and non-regular Fractional Factorial 2-level designs can be created. Furthermore, analysis tools for Fractional Factorial designs with 2-level factors are offered (main effects and interaction plots for all factors simultaneously, cube plot for looking at the simultaneous effects of three factors, full or half normal plot, alias structure in a more readable format than with the built-in function alias).


News

Changes to package FrF2

The package is still under development. Suggestions and bug reports are very welcome.

03/05/2019, version 1.7-3

  • documented how to reproduce designs created by R versions prior to 3.6.0 with R versions 3.6.0 and later (due to the changed behavior of function sample, default randomization changed) in the instructions for argument seed and in a "Warning" section for functions pb, FrF2 and FrF2Large
  • show the entire output of function str again (strOptions(drop.deparse.attr=FALSE)) in tests
  • adjusted the test output to reflect the new default randomization behavior

29/09/2016, version 1.7-2

  • replaced require to requireNamespace for suggested package
  • changed namespace and description files to conform with latest R checking rules
  • adapted test output to changes in base R (all functions) and to a bug fix in function rerandomize.design of package DoE.base (add.center tests)

31/07/2014, version 1.7-1

  • MEPlot and IAPlot now invisibly return the estimated values so that the plots can be accompanied by tables, if desired.
  • fixed documentation file CIG.Rd, replacing .FrF2.currentlychecked by FrF2.currentlychecked()
  • documented DanielPlot name clash with BsMD, and how to nevertheless access FrF2::DanielPlot
  • removed import of function as.integer.basedInt from sfsmisc and made FrF2 import from version >= 1.0-26 of sfsmisc
  • moved an example to don't run section, in order to prevent issues under periodical Valgrind test runs

27/02/2014, version 1.7

  • added the LAD algorithm for checking for clear designs. Note: With this change, version 0.7 of package igraph is required.

    For the moment, LAD has to be requested by option method in function FrF2, while the default is the previously used VF2 algorithm. In the future, as LAD has been reported to be much faster for very slow
    cases of VF2, LAD may become the default.

  • adjusted documentation to the change, and added / updated related references

11/01/2014, version 1.6-9

  • added citation info for Journal of Statistical Software paper

13/09/2013, version 1.6-8

  • bug fix: imported function combn from package utils, in order to allow proper functionality when package combinat is added to the search path later
  • moved many packages to Imports rather than depends, and adjusted example code and test code accordingly

16/08/2013, version 1.6-7

  • moved function halfnormal to package DoE.base, and extended its functionality
  • modified function DanielPlot from the previous plotting positions identical to the function from package BsMD to more canonical ones using function ppoints (points are identical to the ones used by function halfnormal in package DoE.base for halfnormal plots)
  • modified function DanielPlot to use critical values for Lenth's method that are determined by simulation where available (the original critical values by Lenth are known to be conservative)
  • slightly enhanced the help file to BsProb.design
  • modified the NAMESPACE file in order to avoid a note in R-patched/R-devel
  • removed triple colon access to methods from other packages

18/04/2013, version 1.6-6

  • modified automatic load of package FrF2.catlg128 to work with the lazy load version of that package (version 1.2) and to avoid usage of the command data() which has been banned by CRAN policy
  • modified maintainer e-mail address
  • modified example and corrected comment text on example for hard-to-change factors in the splitplot documentation file
  • mentioned in FrF2 documentation that option MaxC2 is ignored when using
    the estimable functionality, and discouraged the use of that option
  • fixed function CIGstatic to work as advertised

22/03/2013, version 1.6-5

  • made usage of catalogues from package FrF2.catlg128 more comfortable: the package and catalogue is now loaded automatically, if a catalogue from that package is requested with option select.catlg of function FrF2
  • blocking designs did not work for full factorials with more than 256 runs; this functionality has now been added.
  • blocking variable was a character column instead of a factor for any blocked design with bbreps > 1, which lead to warnings in modeling functions; now it is a factor also for this situation, with adequately ordered levels
  • the run.order attribute for blocked and split plot designs did not yield helpful standard order run numbers; this has improved to some extent, and has been documented more clearly. Further unification with unblocked designs was not done, because the easy way to do it would have led to changes in the created designs between versions, which would be quite undesirable.
  • function add.center did not handle the run.order attribute of the design well: center points had entries "0" only for run.no.in.std.order and run.no.std.rp; this has been rectified so that the block and replication information is also retrievable from the run.order attribute
  • bug fix: the element res.WP for split plot designs with manually specified whole plot factors was not populated with information; this has been fixed.

12/02/2013, version 1.6-4

  • modified treatment of .FrF2.currentlychecked once again, now using an internal environment, because the other solution did not work with R versions before 2.15

12/02/2013, version 1.6-3

  • function BsProb.design was modified to use function BsProb from BsMD rather than directly accessing the Fortran routine from that package
  • refer to function alias from package stats via stats::alias, in case a user has loaded package planor, which overrides that function (in function aliases)
  • modified treatment of .FrF2.currentlychecked (included in sysdata.rda, modified via assignInMyNamespace, instead of earlier storage in global environment; function to access it)

14/08/2012, version 1.6-2

  • Function CIG gained possibilities for graphing requirement set CIGs
  • new functions gen2clear.2fis and gen2CIG in support of investigating the CIG behavior for given generators
  • modified dominating entry in entries of catlg: all NA entries for designs without clear 2fis were changed to FALSE

20/07/2012, version 1.6-1

  • further improvement of search speed for clear designs, sometimes very substantial: presorting of CIGs w.r.t. degrees of vertices

10/07/2012, version 1.6

  • added two further pre-filtering criteria for clear designs, the clique number (size of largest clique at least as required by the requirement set) and the independence number (size of largest independent set at most as large as in requirement set)
  • introduced some improvements to function CIG:
    • plotting can now be suppressed
    • if plotting is suppressed or a static plot is produced, the function returns a graph instead of a list with a single graph element
    • the argument design can also be a one element catalogue of class catlg instead of a character string
    • improved the documentation of function CIG

29/06/2012, version 1.5

  • added an element to catalogue entries in catlg in order to speed up search for clear designs (following a 2012 Technometrics paper by Wu, Mee and Tang) and modified function mapcalc accordingly (should speed up estimable with clear 2fis)
  • added an accessor function dominating.catlg
  • made catalogue accessor functions generic with method for class catlg (except for all.2fis.clear.catlg)
  • modified documentation of catlg and its accessor functions accordingly
  • changed estimable functions and function CIG to work with new version of package igraph and changed dependence back from igraph0 to igraph
  • added globalVariables() in file aaa.R and renamed one internal function for getting rid of Notes in R CMD check

18/05/2012, version 1.4-1

  • replaced package igraph with igraph0 on request of the igraph author

17/03/2012, version 1.4

  • modified the aliased and aliased.with.blocks elements of design.info for blocked and split-plot designs (more succinct, same structure as for other FrF2 designs in some cases, verbal description in others)
  • modified block.gen element of design info to always contain Yates matrix column numbers, even when explicit extra block factors exist (be it from blockpick.big or by user specification (like in the Day/Shift example); because of this change, it is necessary to use at least version 0.23-2 of package DoE.base for summary and generators functionality (with previous versions, the summary of large blocked designs (created using function blockpick.big) was confusing regarding the block generators.

04/03/2012, version 1.3-1

  • Bug fix: A change to function formula.design for Plackett-Burman designs in version 0.23 of DoE.base made Daniel plots from pb designs loose their points for error dummies. Fixed with version 0.23-1 of DoE.base (new option use.dummies) and an update to function DanielPlot in this package

28/02/2012, version 1.3

  • added the 100 run PB design
  • modified column ordering for several designs in function pb for improving aliasing behavior of resulting designs, allowing to preserve previous behavior with option oldver
  • added warnings to function pb for designs with heavy aliasing
  • added number of dummy factors to design.info attribute for pb designs (ndummies)
  • renamed function CIG.catlg to CIG (in order to avoid misunderstanding it as method for class catlg) Bug fixes:
  • internal function check.subisomorphic.special precluded estimable to work with a one effect requirement for clear=FALSE and res3=TRUE
  • nrunsV did not report correct number for nfactors= 2 or 3 (started with 16 run designs and ignored full factorials in 2 and 3 factors)
  • an error message of function FrF2Large still referred to the old preliminary function name Vlarge
  • corrected documentation of function CIG (formerly CIG.catlg); half-finished working version of this documentation was online

15/11/2011, Version 1.2-10

  • moved function iscube from package FrF2 to package DoE.base and extended its applicability
  • made package depend on version 0.22-8 of DoE.base (which contains iscube)

07/11/2011, Version 1.2-9

  • made function add.center cater for adding 0 center points (in support of the (not recommended) desire to have a central composite design with center points in the star portion only)
  • made function iscube work for designs with 0 center points
  • made error message for full factorials 2-level designs with center points more meaningful

08/08/2011, Version 1.2-8

  • bug fix: fold.design did not work on designs created with function pb (contrary to what was documented)

05/08/2011, Version 1.2-7

  • removed function factorize and changed dependence on sfsmisc to selective import of a few functions, in order to avoid overriding of function factorize from conf.design with the sfsmisc version

03/08/2011, Version 1.2-6

  • included conf.design version of function factorize (a generic) to prevent sfsmisc version from overriding it

29/07/2011, Version 1.2-5

  • implemented combination of options resolution and hard, which led to an error before
  • fixed bug that led to randomization of whole plots for some cases for hard to change factors, and modified help entry for option hard

21/07/2011, Version 1.2-4

  • fixed small bug that led to a warning in FrF2 estimable applications

06/06/2011, Version 1.2-3

  • added coding information to all designs with center points (done in add.center function) in support of using these for steepest ascent analysis)
  • introduced different plot symbols for whole plot and split plot effects in function DanielPlot.design, and printed a warning regarding different reference variances; augmented output data frame to allow subsequent separate plotting if necessary
  • introduced new function halfnormal, which can be used for creating half normal plots from arbitrary vectors of effects, e.g. from the x-column in the output data set of function DanielPlot (useful for separate plotting of split plot and whole plot effects)
  • introduced error message for the case where users give generators with nfac.WPs but without WPfacs; in that case, generators were ignored without an error message or even a warning
  • fixed generators.summary.test.r, which contained an illegal (and ignored) usage of generators together with WPs and nfac.WP but without WPfacs

07/01/2011, Version 1.2-2

  • speed improvement for estimable interactions with clear=TRUE: excluded all designs from running the subgraph isomorphism check, for which the table of vertex degrees is incompatible with the requirement set; while this change slightly deteriorates speed for well-behaved situations, it dramatically improves speed for critical situations

31/01/2011, Version 1.2-1

  • made run.no.in.std.order a factor with properly ordered levels for functions pb, FrF2 and FrF2Large
  • made option res3 of function FrF2 effective also for MaxC2 (maximization among all designs instead of highest resolution only)
  • introduced function BsProb.design for convenient application of the Box and Meyer Bayesian screening method from package BsMD to FrF2 and pb designs

30/10/2010, Version 1.2 This version update adds many larger designs and functionality for them.

  • added a function FrF2Large for large designs, either manually-specified or resolution V based on Sanchez and Sanchez (2005)
  • added a function nrunsV for telling users how many runs are needed for a resolution V design, with what method, and whether it is MA
  • added some internal functions and modified internal function gen.check to become independent of the Yates object in order to increase run size that can be treated (by function FrF2Large)
  • updated catlg:
    • added known MA resolution IV designs in 256 and 512 runs according to Xu (2009) and Ryan and Bulutoglu (2010; their appendix)
    • added further good resolution IV designs in 256 (up to 80 factors) and 512 runs (up to 160 factors) from the Xu (2009) paper
    • modified catlg in order to have a "1" added for those previously avaialable designs that have been proven to be MA (1024 to 4096 runs), and added improved MA designs to catalogue (cf. Ryan and Bulutoglu, appendix);
    • unified catalogue notation between designs larger than 128 and designs up to 128 (used the notation from up to 128 (also used in FrF2.catlg128), i.e. clear.2fis always as matrix and all.2fis.clear as "all" in case of resolution V or higher)
    • documented extended range of additional MA designs

09/09/2010, Version 1.1-5

  • added references to technical reports in help files for estimable 2fis, design catalogue and fractional factorial design generation

03/08/2010, Version 1.1-4

  • reformatted NEWS file for improving display with news() function
  • modified function aliasprint
  • added class aliases to output objects of function aliases
  • added print method for class aliases
  • improvements to DanielPlot.design, MEPlot.design and IAPlot.design and DanielPlot.default, MEPlot.default and IAPlot.default (thanks to Andrea Bernasconi for instigating these):
    • functions DanielPlot.design, MEPlot.design and IAPlot.design now also work for full factorials with only 2-level factors
    • functions DanielPlot.default, MEPlot.default and IAPlot.default give more meaningful error message, if called with invalid object type

25/06/2010, Version 1.1-3

  • bug fix: labels on interaction plots for levels of selected factors were wrong, if not the first few factors got selected.

25/06/2010, Version 1.1-2

  • bug fixes:
    • MEPlot, IAPlot and DanielPlot did not work on designs in wide formal with aggregated responses from repeated measurements, because of an abbreviated name for the list element response.names in the design.info attribute

23/04/2010, Version 1.1-1

  • added the minimum run size for a clear design to the output object of function compromise and an optional message to this effect
  • added catlg.name element to design information for FrF2 designs, in case select.catlg has been used (important for summary.design to properly exploit the design name)
  • added 30 further designs in 128 runs to catlg, based on their potential for clear compromise designs bug fixes:
  • select.catlg did not work properly in function FrF2 (which was presumably not consequential, because so far no alternative catalogues were provided)
  • print.catlg did not work for non-default catalogues, if nruns was specified

24/02/2010, Version 1.1

  • added large (good but not necessarily MA) resolution V designs from Xu 2009, added hint to even larger non-regular resolution V designs in package DoE.base (from version 0.9-16)
  • supported subsequent calculation of generator information for blocked and splitplot designs by updated function summary.design:
    • added map element to design.info for split-plot designs and blocked designs created with blockpick.big
    • modified base.design entry of design.info object for split-plot designs with specified generators: display the original generators in the base design, which is much more logical than presenting the generators after application of splitpick which were there before
    • added an FrF2.version element to design.info in order to allow checking whether the generators can be reconstructed from stored information with function generator.design from package DoE.base
    • added test cases for this feature Bug fixes:
  • SERIOUS BUG: manually specifying dependent block generators led to unwarned mismatch between ouput design and design.info; fixed by throwing an error in case of dependent block generators
  • documentation of block option for FrF2 was confusing regarding interpretation of entries in numeric vectors
  • made large generator vectors work (length >20 was an issue and led to an error)
  • documentation of function FrF2 wrongly called generators element of design.info attribute gen.display
  • blockpick full factorial example in manual was (very) old state and worked different from description
  • For split-plot designs, the automatic choice of whole plot factors was not always as documented; sometimes, the whole plot factors were not the first nfac.WP ones.
  • inconsistency: splitpick.out used drop=FALSE for gen, but not for perms; now also introduced drop=FALSE for the other similar functions (leftadjust, blockpick.big)
  • split-plot designs and designs with hard-to-change factors should now also work for full factorial situations.

17/01/2010, Version 1.0-5

  • internal function double.des was changed to produce different designs for 40,56,64,88,96 runs: The folded columns are in the front rather than in the rear, with the benefit of obtaining resolution IV designs whenever the number of factors is up to half the number of runs

02/01/2010, Version 1.0-4

  • function compromise for supporting creation of compromise designs
  • bug fix: distinct design with only one 2fi did not work

10/12/2009, Version 1.0-3

  • bug fix: desnum attribute was list instead of data frame for FrF2 with estimability requirements

26/11/2009, Version 1.0-2

  • added a response argument to MEPlot, IAPlot and DanielPlot
  • bug fix for function FrF2: resolution requests were ignored since version 0.97-7
  • small documentation bug fixes

17/11/2009, Version 1.0-1

  • clarified in the explanation of the catalogue file that the resolution III designs constructed for 64 and 128 runs are in fact minimum aberration (which was only conjectured before)
  • bug fix for function DanielPlot.design: the function did not work for large numbers of factors

08/10/2009, Version 1.0

  • added methods for class design for the plotting functions MEPlot, IAPlot and DanielPlot
  • added the MA resolution III designs for 64 runs (33 to 63 factors) and 128 runs (65 to 127 factors) to the design catalogue catlg (strictly speaking, it is only proven that these have the same number of length three and length four words as the MA designs)
  • improved documentation of generators option for FrF2
  • removed unnecessary warning from FrF2 in case of more than 19 generators

17/09/2009, Version 0.97-10

  • changed a link to DoE.base-package to work on Mac-OS

14/09/2009, Version 0.97-9

  • made factor names in FrF2 and pb valid names using make.names, also block.name in FrF2

07/09/2009, Version 0.97-8

  • made function FrF2 output factors also for full factorial 2-level designs without center points and documented coding of experimental factors for functions FrF2 and pb (thanks to Enrico Pegoraro for reporting this inconsistency)
  • fixed a bug in function pb's treatment of unnamed lists as factor.names
  • added a few links to manuals

24/08/2009, Version 0.97-7

  • made functions FrF2 and pb tolerate factor.names to be an unnamed list
  • bug fix: resolution option for FrF2 did not return a full factorial, if no smaller design of the desired resolution exists
  • documentation bug fix: value section for function FrF2 did not mention the design.info elements map, clear and res3 for designs created with option estimable

21/08/2009, Version 0.97-6

  • bug fix: generators.from.design did not work for replications in case of designs with the estimable option
  • bug fix: check rejected some valid linear models with only complete aliases due to numerical inaccuracies

21/08/2009, Version 0.97-5

  • developed find.gen and generators.from.design to support generation of ccd designs (including estimable and blocked designs)

21/08/2009, Version 0.97-4

  • bug fix: FrF2 always randomized designs when using the estimable option, even for randomize=FALSE

20/08/2009, Version 0.97-3

  • changed itemize to describe in Rd files for pb and CatalogueAccessors in order to comply with new R CMD check behavior

19/08/2009, Version 0.97-2

  • blocked designs: added the element block.gen to the design.info attribute in order to support subsequent augmentation with star points
  • added error message for missing ncenter for add.center
  • added meaningful error message for failure for full factorials to fold.design
  • removed warning about all center points together, if ncenter=1
  • made internal function des.recode identical to same function in package DoE.base, in order to later drop it from FrF2
  • bugfix: names (not values) from factor.names were ignored in some important situations for blocked designs (automatic factor selection, small case, i.e. where blockpick is used)
  • added experimental and as yet undocumented internal functions for extracting all relevant generators from designs especially where these are not obvious (find.gen and generators.from.design)

16/08/2009, Version 0.97-1

  • bug fix: folding and center points did not work for full factorial 2-level designs

13/08/2009, Version 0.97

  • added function fold.design for foldover designs
  • added functions add.center for adding center points and iscube for identfying the cube points in a design with center points
  • added functionality for center points to functions FrF2 and pb
  • function aliases has gained the new argument condense that makes its output very similar to that of internal function alias3fi in combination with code=TRUE
  • moved into the direction of unified representation of aliased element in design.info (still not the same for all types of design, particularly not for blocked designs)
  • modified nfactors in design.info for blocked designs to refer to treatment factors only (ntreat kept for continuity)
  • added keyword internal to help files for internal functions
  • bug fix: added nfactors to design.info for split-plot designs
  • bug fix: generators element of design.info was labelled wrongly for more than 50 factors (NA labels for factors 51 and following)

03/08/2009, Version 0.96-1

  • added meaningful error message for IAPlot in case of no 2-factor interactions
  • adjusted test output to new version of DoE.base
  • bugfix for MacOS: replaced log2(nruns) with rounded version for print.catlg, because otherwise wrong result on MacOS

31/07/2009, Version 0.96

  • changed R version to R-2.8.0 or newer (extractor for class design does not work with earlier versions)
  • added dependence to R version 2.7.1 or newer
  • a few clarifications in documentation
  • added legend element to element aliased in design.info for FrF2 designs
  • made seed occur on all design.info objects for function FrF2
  • added nfactors to design.info objects for blocked designs
  • made repeat.only FALSE even if user made it TRUE for between block replications only, where in fact there are no repeated measurements
  • bugfix:designs with 20 or more generators did not work in function FrF2

13/07/2009, Version 0.95

  • included Bobby Mees very comprehensive new book into the references
  • included design 3-1.1 (cf. program in FrF2-devel) into catlg in support of future implementation of inner/outer array designs
  • included possibility to select factors for which interactions are to be plotted in IAPlot (was already available in MEPlot)
  • all experimental factors are now R factors in the data frame, even if their levels are numerical values Bugfixes:
  • provided meaningful error message for internal function formula2matrix, if user specified the formula for estimable in an inappropriate way
  • pb design with 8 runs and <=4 factors now effectively is the FrF2 design, with all FrF2 properties, as was already documented before.

06/07/2009, Version 0.94-1 Bugfix: Replicated blocks had the same block number or name in case of bbreps. This is unreasonable and has been changed; with the changed version, the blocking variable can be directly used in a (mixed) linear model analysis.

28/06/2009, Version 0.94

  • added element creator to design.info attribute of designs created by functions FrF2 and pb, and documented objects accordingly; this element contains the call, but is called creator to allow it also to include stored menu settings instead
  • added possibility to have negative generators (e.g. -ABD or -c(1,2,4)) (before, levels had to be swapped)
  • improved usage comfort and documentation for split plot designs in function FrF2 (with WPfacs, specification of nfac.WP is no longer necessary; the documentation of this aspect has been confusing and has been improved)
  • started decoupling statistical and technical information in the documentation; purpose of this: shorter individual help texts and the possibility to re-use the statistical texts for help from within R-commander in future package RcmdrPlugin.DoE
  • a few further improvements to the documentation have been made
  • modified function remodel to allow numeric variables with two levels not equal to -1 and 1
  • improvement of MEPlot: user can select effects to be displayed (option select) (a similar possibility for IAPlot is not in place yet; so far, the model has to be reduced in order to select effects for IAPlot) Bugfix: function DanielPlot gave error message in case of non-significant effects only

24/05/2009, Version 0.93

  • The constant Letters and some functions have been moved to new package DoE.base, in preparation of the collaborating package group of FrF2, DoE.base, DoE.wrapper and RcmdrPlugin.DoE.
  • documentation of factor.names in UtilitiesCat.Rd has been corrected (not user-relevant, as affected function estimable.check is not to be called directly by users)
  • removed unnecessary suggests for BHH2

18/05/2009, Version 0.92-5 Bugfixes

  • simultaneous specification of nfactors and nlevels of length > 1 did not work in internal function fac.design; this was not relevant for FrF2, but nevertheless wrong
  • estimable did not work with a formula using factor names rather than factor letters; this has been fixed, and an example with this feature has been added
  • catalogue catlg currently contains only one design each for large resolution V+ situations (256 runs and more). The documentation of this aspect has been corrected.
  • deleted wrong statement in the documentation, that the complete catalogue of 128 run resolution IV designs with up to 24 factors is downloadable from the authors website (it is simply too large and could not be uploaded)

15/05/2009, Version 0.92-4 Bugfixes and small changes regarding row numbering

  • third column of run.order for blocked designs was wrong
  • added original row number of design to columns 1 and 3 of run.order in case of blocked and split-plot designs
  • row numbers of design itself and attribute desnum unified to always be the numbering from 1 to number of rows (i.e. second column of attribute run.order) regardless of design

07/05/2009, Version 0.92-2 Bug fixes

  • blockpick.big displayed wrong information about which effects are aliased with blocks; corrected; this bug only affected direct use of function blockpick.big and did not affect any automatic calculations within FrF2, alias information in design.info attribute was always correct.
  • replication information attached to run order also for full factorial designs and Plackett-Burman designs (functions fac.design (used by FrF2) and pb)
  • corrected documentation of class design and functions pb and FrF2 regarding the run.order attribute of class design output (from 2-column matrix to 3-column data frame with third column including replication information)

01/05/2009, Version 0.92-1 Bug fixes

  • hard to change factor number equal to nfactors gave indexing error; prevented by error message, since this does not make sense anyway
  • hard to change order was not the intended one --> changed

30/04/2009, Version 0.92 Substantial additions to function FrF2:

  • split-plot and blocking facilities including also functions splitpick, blockpick, blockpick.big and leftadjust that investigate the structure of designs and may be useful for expert users
  • treatment of hard-to-change factors Further changes to function FrF2 and its output:
  • made output object (class design) more informative
  • row numbers of design reflect replication structure
  • option select.catlg moved to an earlier position, and made effective for more scenarios than before Additions to catalogues and catalogue utilities:
  • added print method for objects of class catlg in support of inspecting available catalogue entries
  • extended standard catalogue catlg by some good larger designs Improvements to further utility functions:
  • added accessor functions for class design
  • added contrast contr.FrF2 for -1/+1 contrasts in line with 2-level fractional factorials
  • made character vectors in class design data frames from package FrF2 into factors with contrasts contr.FrF2
  • made internal function alias3fi capable of handling more than 50 factors Bug fixes to documentation and error messages added examples and test cases (tests directory)

far too many changes to be all mentioned in detail

15/04/2009, Version 0.91-1 Bug fix in documentation to function FrF2

06/04/2009, Version 0.91 Additions to function FrF2:

  • added functionality for "estimable", i.e. automated search
    for designs that accommodate certain 2-factor interactions (2fis) well (two approaches)
  • added possibility of replications and repeated measurements
  • added more design information to output of FrF2 and changed output from list to data frame with attributes of new class design
  • FrF2 now also can do full factorials
  • renamed option max.nclear.2fis to MaxC2 (often used in the literature) Additions to function pb:
  • added possibility of replications and repeated measurements Further changes:
  • modified function alias3fi (non-exported function) to allow allow reducing detail to order=2
  • renamed catlg elements around clear 2fis to read "clear" and not "free", accessor functions analogously
  • grouped R-utility functions in files according to same pattern as in Rd files
  • changed output of pb also to data frame with attributes of class design
  • extensions and clarifications for documentation
  • switched to FrF2, if pb is called for nruns=8 and nfactors<=4 Bug fixes:
  • FrF2 code had gen instead of generators in two places
  • pb had a bug that prevented design generation for those numbers of runs for which doubling is used (40, 56,64,88,96)

24/03/2009, Version 0.9-1 A few minor bug fixes:

  • Changed R version the package depends on to 2.7.0 (packages BsMD and scatterplot3d require this version), and added LazyLoad: yes and LazyData: yes to DESCRIPTION file
  • tried to fix example error for Mac: round instead of floor in check for nruns in FrF2, also changed check for nruns in pb
  • Bug fix on WLP.catlg, free.2fis.catlg and all.2fis.free.catlg: now always return a named list, even if the catlg object has only one element
  • minor clarifications in documentation

11/03/2009, Version 0.9 Added functionality for creating designs:

  • FrF2 and pb create regular and non-regular fractional factorials with 2-level factors, together with a number of utility functions.

16/02/2008, Version 0.8

  • added function for cube plots for showing means or fitted means for three-way-interactions
  • corrected bugs in documentation: plot functions MEPlot and IAPlot do not take ... argument, and they were wrongly referenced by their early development names "iap" and "mep" in a few places
  • line width (lwd) choosable in MEPlot and IAPlot (affects plot lines and axis thickness)
  • title size of individual plots (cex.main) choosable in MEPlot
  • legend in diagonal panels of interaction plot matrix (IAPlot) improved
  • alias numbers in interaction plots (in case of show.alias=TRUE) sized by cex.lab
  • right outer margin slightly increased for making outer border visible in copied figures

16/12/2007, Version 0.7 Bug-fix: functions DanielPlot and IAPlot did not work with aov objects but only with pure lm-objects. This has been fixed by letting the internal function remodel transform aov objects into pure lm objects.

16/12/2007, Version 0.6

  • Eliminated portability issue with example: Version 0.5 used windows() for opening several graphics devices.

15/12/2007, Version 0.5 First version on CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.