CSIdist: Create distribution plots of CSI values for sites

CSIdistR Documentation

Create distribution plots of CSI values for sites

Description

For each site (layer) in the csi object, plot the intervals (columns) on a distribution plot.

Usage

CSIdist(csi, dir = paste0(getwd(), "/csi_dist"))

Arguments

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.

Examples

# 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)
CSIdist(csi)


USGS-R/CSI documentation built on April 20, 2023, 3:57 p.m.