background.plot {mFD} | R Documentation |
Plot background of multidimensional plots
Description
This function creates a ggplot object with customized axes range (same for both), names and background
Usage
background.plot(range_faxes, faxes_nm, color_bg)
Arguments
range_faxes |
a vector with minimum and maximum values of axes. Note
that to have a fair representation of position of species in all plots,
they should have the same range. Default: |
faxes_nm |
a vector with axes labels for figure. |
color_bg |
a R color name or an hexadecimal code used to fill plot
background. Default: |
Value
A ggplot object plotting background of multidimensional graphs.
Author(s)
Camille Magneville and Sebastien Villeger
Examples
background <- background.plot(range_faxes = c(-1, 2),
faxes_nm = c("PC 1", "PC 2"),
color_bg = "grey90")
background
[Package mFD version 1.0.7 Index]