dae
is an R package that collects together functions that are useful in the design and ANOVA of experiments. It is stronger in functions to aid in the design of experiments, having functions that facilitate factor manipulation, randomizing designs and assessing the properties of designs.
For more information install the package and run the R command news(package = “dae”)
or consult the manual via vignette("Manual", package = "dae")
.
An overview can be obtained using ?dae
. A vignette is also available via vignette("DesignNotes", package = "dae")
.
drat
Windows binaries and source tarballs of the latest version of dae
are available for installation from my repository. Installation instructions are available there.
dae
is an R package available on GitHub, so it can be installed from the RStudio console or an R command line session using the devtools
command install_github
. First, make sure devtools
is installed, which, if you do not have it, can be done as follows:
install.packages("devtools")
Next, install dae
from GitHub by entering:
devtools::install_github("briencj/dae")
.
Version 2.0-12 of the package is available from CRAN so that you could first install it and its dependencies using:
install.packages("dae")
If you have not previously installed dae
then you will need to install it dependencies:
install.packages(c("ggplot2", "plyr")))
Its most general facilties are those for randomizing systematic designs to produce randomized layouts for experiments and for assessing their properties by producing their efficiency factors. The randomized layouts are produced using the function designRandomize
and a number of functions whose names start with design
, as well as functions for manipulating factors whose names begin with fac
. The efficiency factors are obtained using designAnatomy
. The use of designRandomize
and designAnatomy
is exemplified in the vignette, which is also found using vignette("DesignNotes", package = "dae")
. It covers both standard and multiphase experimental designs. The data sets that go with the vignette are available in dae
. The package is documented in the manual, which can be found using vignette("Manual", package = "dae")
.
The content falls into the following natural groupings:
(i) Data
(ii) Factor manipulation functions
(iii) Design functions
(iv) ANOVA functions
(v) Matrix functions
(vi) Projector and canonical efficiency functions
(vii) Miscellaneous functions.
It imports ggplot2
, graphics
, methods
, plyr, stats
.
The dae
package is distributed under the GPL (>= 2) licence.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.