fortify.cca | R Documentation |
"cca"
object.Fortifies an object of class "cca"
to produce a
data frame of the selected axis scores in long format, suitable for
plotting with ggplot
.
## S3 method for class 'cca'
fortify(
model,
data,
axes = 1:6,
display = c("sp", "wa", "lc", "bp", "cn"),
...
)
model |
an object of class |
data |
currently ignored. |
axes |
numeric; which axes to extract scores for. |
display |
numeric; the scores to extract in the fortified object. |
... |
additional arguments passed to |
TODO
A data frame in long format containing the ordination scores. The first two components are the axis scores.
Gavin L. Simpson
data(dune)
data(dune.env)
sol <- cca(dune ~ A1 + Management, data = dune.env)
head(fortify(sol))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.