model.frame.cca
reconstructs a data.frame
with the variables used in the constrained ordination method
(cca
, rda
or capscale
.
Function model.matrix.cca
creates a list of design matrices used
in constrained ordination. The items of the list are called
Conditions
and Constraints
. If either partial
(Conditions
) or constrained component was missing,
a single matrix is returned.## S3 method for class 'cca':
model.frame(formula, ...)
## S3 method for class 'cca':
model.matrix(object, ...)
model.frame
) or an unnamed matrix or a
list of two matrices called Constraints
and Conditions
(model.matrix
).model.frame
, model.matrix
.data(dune)
data(dune.env)
mod <- cca(dune ~ poly(A1, 2) + Management + Use, dune.env)
model.frame(mod)
model.matrix(mod)
Run the code above in your browser using DataLab