dae (version 3.2.25)

dae-package: tools:::Rd_package_title("dae")

Description

tools:::Rd_package_description("dae")

Version: utils::packageDescription("dae", fields="Version")

Date: utils::packageDescription("dae", fields="Date")

Arguments

Index

(i) Data
ABC.Interact.datRandomly generated set of values indexed by
three factors
BIBDWheat.datData for a balanced incomplete block experiment
Casuarina.datData for an experiment with rows and columns from
Williams (2002)
Exp249.munit.desSystematic, main-plot design for an experiment to be
run in a greenhouse
Fac4Proc.datData for a 2^4 factorial experiment
LatticeSquare_t49.desA Lattice square design for 49 treatments
McIntyreTMV.datThe design and data from McIntyre (1955) two-phase
experiment
Oats.datData for an experiment to investigate nitrogen response
of 3 oats varieties
Sensory3Phase.datData for the three-phahse sensory evaluation
experiment in Brien, C.J. and Payne, R.W. (1999)
Sensory3PhaseShort.datData for the three-phase sensory evaluation
experiment in Brien, C.J. and Payne, R.W. (1999),
but with short factor names
SPLGrass.datData for an experiment to investigate the
effects of grazing patterns on pasture
composition
(ii) Factor manipulation functions
Forms a new or revised factor:
fac.combine
Combines several factors into onefac.multinested
Creates several factors, one for each level of a nesting.fac
and each of whose values are either generated within
those of the level of nesting.fac or using the values
of a nested.facfac.nested
Creates a factor, the nested factor, whose values are
generated within those of a nesting factorfac.recast
Recasts a factor by modifying the values in the factor vector
and/or the levels attribute, possibly combining
some levels into a single level.fac.recode
Recodes factor 'levels' using possibly nonunique
values in a vector. (May be deprecated in future.)fac.uselogical
Forms a two-level factor from a logical objectmpone
Converts the first two levels of a factor into
the numeric values -1 and +1
Forms multiple new factors:
fac.divideDivides a factor into several separate factors
fac.genGenerate all combinations of several factors and,
optionally, replicate them
fac.genfactorsGenerate all combinations of the levels of the supplied
factors, without replication
fac.splitSplits a factor whose levels consist of several delimited
strings into several factors.
fac.uncombineCleaves a single factor, each of whose levels has delimited
strings, into several factors using the separated strings.
Operates on factors:
as.numfac
Convert a factor to a numeric vectorfac.match
Match, for each combination of a set of columns
in 'x', the row that has the same combination
in 'table'
(iii) Design functions
Designing experiments:
designLatinSqrSysGenerate a systematic plan for a Latin Square design.
designRandomizeRandomize allocated to recipient factors to produce
a layout for an experiment. It supersedes fac.layout.
no.repsComputes the number of replicates for an experiment
detect.diffComputes the detectable difference for an experiment
power.expComputes the power for an experiment
Plotting designs:
blockboundaryPlot
This function plots a block boundary on a plot
produced by 'designPlot'. It supersedes
blockboundary.plot.designBlocksGGPlot
Adds block boundaries to a plot produced by designGGPlot.designGGPlot
Plots labels on a two-way grid of coloured cells using ggplot2
to represent an experimental design.designPlot
A graphical representation of an experimental design
using labels stored in a matrix.
It superseded design.plot.designPlotlabels
Plots labels on a two-way grid using ggplot2.
Assessing designs:
designAmeasuresCalculates the A-optimality measures from the
variance matrix for predictions.
designAnatomyGiven the layout for a design, obtain its anatomy via
the canonical analysis of its projectors to show the
confounding and aliasing inherent in the design.
designTwophaseAnatomiesGiven the layout for a design and three structure formulae,
obtain the anatomies for the (i) two-phase,
(ii) first-phase, (iii) cross-phase, treatments, and
(iv) combined-units designs.
marginality.pstructureExtracts the marginality matrix from a
pstructure.object
marginality.pstructureExtracts a list containing the marginality matrices from
a pcanon.object
print.aliasingPrints an aliasing data.frame
summary.pcanonSummarizes the anatomy of a design, being the
decomposition of the sample space based on its
canonical analysis.
(iv) ANOVA functions
fitted.aovlist
Extract the fitted values for a fitted model
from an aovlist objectfitted.errors
Extract the fitted values for a fitted modelinteraction.ABC.plot
Plots an interaction plot for three factorsqqyeffects
Half or full normal plot of Yates effectsresid.errors
Extract the residuals for a fitted modelresiduals.aovlist
Extract the residuals from an aovlist objectstrength
Generate paper strength valuestukey.1df
Performs Tukey's
one-degree-of-freedom-test-for-nonadditivityyates.effects
Extract Yates effects
(v) Matrix functions
Operates on matrices:
elementsExtract the elements of an array specified by
the subscripts
mat.dirprodForms the direct product of two matrices
mat.dirsumForms the direct sum of a list of matrices
mat.ginvComputes the generalized inverse of a matrix
ZncssplineForms the design matrix for fitting the
random effects for a natural cubic smoothing
spline.
Compute variance matrices for
supplied variance component values:
mat.randomCalculates the variance matrix for the
random effects from a mixed model, based
on a formula or a supplied matrix
mat.VpredForms the variance matrix of predictions
based on supplied matrices
mat.VpredictsForms the variance matrix of predictions,
based on supplied matrices or formulae.
Forms matrices using factors
stored in a data.frame:
fac.ar1matForms the ar1 correlation matrix for a
(generalized) factor
fac.sumopComputes the summation matrix that produces
sums corresponding to a (generalized) factor
fac.vcmatForms the variance matrix for the variance
component of a (generalized) factor
Forms patterned matrices:
mat.I
Forms a unit matrixmat.J
Forms a square matrix of onesmat.ncssvar
Forms a variance matrix for random cubic
smoothing spline effects
Forms correlation matrices:
mat.corForms a correlation matrix in which all
correlations have the same value
mat.corgForms a general correlation matrix in which
all correlations have different values
mat.ar1Forms an ar1 correlation matrix
mat.ar2Forms an ar2 correlation matrix
mat.ar3Forms an ar3 correlation matrix
mat.armaForms an arma correlation matrix
mat.bandedForms a banded matrix
mat.expForms an exponential correlation matrix
mat.gauForms a gaussian correlation matrix
mat.ma1Forms an ma1 correlation matrix
mat.ma2Forms an ma2 correlation matrix
mat.sarForms an sar correlation matrix
mat.sar2Forms an sar2 correlation matrix
(vi) Projector and canonical efficiency functions
Projector class:
projectorCreate projectors
projector-classClass projector
is.projectorTests whether an object is a valid object of
class projector
print.projectorPrint projectors
correct.degfreeCheck the degrees of freedom in an object of
class projector
degfreeDegrees of freedom extraction and replacement
Accepts two or more formulae:
designAnatomy
An anatomy of a design, obtained from
a canonical analysis of the relationships
between sets of projectors.summary.pcanon
Summarizes the anatomy of a design, being the
decomposition of the sample space based on its
canonical analysisprint.summary.pcanon
Prints the values in an 'summary.pcanon' objectefficiencies.pcanon
Extracts the canonical efficiency factors from a
list of class 'pcanon'
Accepts exactly two formulae:
projs.2canonA canonical analysis of the relationships between
two sets of projectors
projs.combine.p2canonExtract, from a p2canon object, the projectors
summary.p2canonA summary of the results of an analysis of
the relationships between two sets of projectors
print.summary.p2canonPrints the values in an 'summary.p2canon' object
that give the combined decomposition
efficiencies.p2canonExtracts the canonical efficiency factors from
a list of class 'p2canon'
Accepts a single formula:
as.data.frame.pstructure
Coerces a pstructure.object to a data.frameprint.pstructure
Prints a pstructure.objectpstructure.formula
Takes a formula and constructs a pstructure.object
that includes the orthogonalized projectors for the
terms in a formulaporthogonalize.list
Takes a list of projectors and constructs
a pstructure.object that includes projectors,
each of which has been orthogonalized to all projectors
preceding it in the list.Others:
decomp.relate
Examines the relationship between the
eigenvectors for two decompositionsefficiency.criteria
Computes efficiency criteria from a set of
efficiency factorsfac.meanop
Computes the projection matrix that produces meansproj2.eigen
Canonical efficiency factors and eigenvectors
in joint decomposition of two projectorsproj2.efficiency
Computes the canonical efficiency factors for
the joint decomposition of two projectorsproj2.combine
Compute the projection and Residual operators
for two, possibly nonorthogonal, projectorsshow-methods
Methods for Function 'show' in Package dae
(vii) Miscellaneous functions
extabExpands the values in table to a vector
get.daeToleranceGets the value of daeTolerance for the package dae
harmonic.meanCalcuates the harmonic mean.
is.allzeroTests whether all elements are approximately zero
rep.data.frameReplicate the rows of a data.frame by repeating
each row consecutively and/or repeating all rows
as a group.
rmvnormGenerates a vector of random values from a
multivariate normal distribution
set.daeToleranceSets the value of daeTolerance for the package dae

Author

tools:::Rd_package_author("dae")

Maintainer: tools:::Rd_package_maintainer("dae")