CSIplot | R Documentation |
For each site (layer) in the csi object, plot each interval (column).
CSIplot(
csi,
dir = paste0(getwd(), "/csi_plots"),
leg = "topleft",
groupedx = T
)
csi |
array A 3D array of CSI values with dimensions of number of months covered, scale of months analysed (typically 1-24), and number of sites. |
dir |
character Directory to write output files to. |
leg |
character If "topleft" (default), legend will be displayed in upper left corner; if "bottom", legend will be placed horizontally along the figure bottom. Else no legend will be displayed. |
groupedx |
logical. If true (default), x-asix will be the same across all output plots. |
# Data file with Year and Month columns
data_path <- system.file("extdata", "Monthly_Coastal_EDEN.csv", package = "CSI")
sal <- CSIimport_monthly(data_path)
csi <- CSIcalc(sal)
CSIplot(csi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.