CSIimport_monthly | R Documentation |
Read in monthly salinity values file.
CSIimport_monthly(file)
file |
character The monthly-value file to import. Must have Year and Month columns, or single YearMo column = 'YYYY-MM', and columns of salinty values by site. |
A salinity object data.frame for calculating CSI values; has Year and Month timestamp columns, with (optionally multiple) individual columns of site salinity values.
# Data file with Year and Month columns
data_path <- system.file("extdata", "Monthly_Coastal_EDEN.csv", package = "CSI")
sal <- CSIimport_monthly(data_path)
# Data file with single YearMo column
data_path <- system.file("extdata", "Monthly_ACE_Basin.csv", package = "CSI")
sal <- CSIimport_monthly(data_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.