Last chance! 50% off unlimited learning
Sale ends in
"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 cca
fortify(model, data, axes = 1:6, display = c("sp", "wa", "lc",
"bp", "cn"), ...)
currently ignored.
numeric; which axes to extract scores for.
numeric; the scores to extract in the fortified object.
additional arguments passed to scores.cca
.
A data frame in long format containing the ordination scores. The first two components are the axis scores.
TODO
# NOT RUN {
data(dune)
data(dune.env)
sol <- cca(dune ~ A1 + Management, data = dune.env)
head(fortify(sol))
# }
Run the code above in your browser using DataLab