ctd: Several CTD casts

Description Usage Format Examples

Description

A time series of 41 CTD casts collected at the same station over two years, identified by the date of sampling.

Usage

1

Format

A data frame with 3134 rows and 6 variables:

date

date of sampling

depth

depth, in m, positive towards the bottom

temp

temperature, in degrees Celsius

sal

salinity, in PSU

chla

chlorophyll a concentration estimated through fluorescence, in mg/m^3

sigma

potential density, in kg/m^3 - 1000

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
head(ctd)
plot_casts <- function(formula, x) {
  plot(formula, data=x, type="n")
  for (day in unique(x$date)) {
    lines(formula, data=subset(x, date==day))
  }
}
plot_casts(-depth ~ temp, ctd)
plot_casts(-depth ~ sal, ctd)
plot_casts(-depth ~ chla, ctd)
plot_casts(-depth ~ sigma, ctd)

jiho/castr documentation built on April 5, 2020, 2:12 p.m.