CSIimport | R Documentation |
Read in salinity values files of various intervals.
CSIimport(
file,
interval = c("monthly", "daily", "24hour", "interval", "unit", "hourly", "NERRS")
)
file |
character The file to import. |
interval |
character The timestamp frequency – 'daily'/'24hour', 'interval'/'unit'/'hourly', or 'monthly' (default). Alternatively, 'NERRS' can be used to import NERRS-format data. |
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(data_path, interval = "monthly")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.