powered by
"cca"
Fortifies an object of class "cca" to produce a data frame of the selected axis scores in long format, suitable for plotting with ggplot.
ggplot
# S3 method for cca fortify(model, data, axes = 1:6, display = c("sp", "wa", "lc", "bp", "cn"), ...)
an object of class "cca", the result of a call to cca, rda, or capscale.
cca
rda
capscale
currently ignored.
numeric; which axes to extract scores for.
numeric; the scores to extract in the fortified object.
additional arguments passed to scores.cca.
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