- x
results from dc_CA
of class dcca
.
- ...
unused.
- axis
the axis number to get (default 1).
- gradient_description
character or 2-character vector for the trait
and environmental gradient, respectively specifying what to plot in the
vertical line plots to describe the dc-CA axis (trait and environmental
gradients). Default: correlation
for intra-set correlations of both
sets of variables with their dc-CA axis. Other values are:
c("weights", "tvalues", "inter_set_correlation")
for
regression weights, t-values and inter-set correlation,
being the correlation of the SNCs and CWMs with the traits and environmental
variables, respectively. "regression"
is an alias for "weights"
.
- envfactor
name of row factor to display as color and lines in the CWM
plot (default NULL
). The default extracts the factor from the
environmental model. If set to NA
, no additional coloring and lines
are displayed in plot.dcca
. The parameter sets the
groups
variable in the CWM_SNC
data frame of the return
value/in the plot.
- traitfactor
name of column factor to display as color and lines in
the SNC plot (default NULL
). The default extracts the factor from
the trait model. If set to NA
, no additional coloring and lines are
displayed in plot.dcca
. The parameter sets the groups
variable in the CWM_SNC
data frame of the return value/in the plot.
- nspecies
integer. Default 20
for including a vertical species
plot with at most nspecies
that have the highest contribution.
- species_groups
name of a variable in dataTraits
of
dc_CA
. Default NULL
for no grouping.
Species groups are colored differentially.
- widths
relative widths of the CWM-SNC plot, the correlation/weight
plot and the species plot. (see grid.arrange
).
Default c(5, 1, 1)
.
- newnames
a list with two elements: names for traits and for
environmental variables, default NULL
for names derived from the
result of scores.dcca
with tidy = TRUE
.
- facet
logical. Default TRUE
for CWMs and SNCs plots in
separate panels. This parameter changes the position of the centroid
names (from left to right for the environmental centroids). If
facet = FALSE
and with_lines = TRUE
, the line fits ignore
groups of species and of sites.
- remove_centroids
logical to remove any centroids from the plot data
(default FALSE
). Can be a two-vector, e.g.
c(TRUE, FALSE)
to remove only the trait centroids.
- with_lines
integer values (0,1,2). Default 2
for straight lines
through groups of points, with confidence intervals around the lines.
with_lines=1
drops the confidence intervals and
with_lines=0
suppresses the lines.
- flip_axis
flip the direction of the axis? (default FALSE).
- expand
amount of extension of the line plot (default 0.2).
- formula
formula to use by ggplot geom_smooth (default y~x).
- verbose
logical. Default TRUE
for plotting the result.