powered by
ctd
ctdAddColumn(x, column, name, label, unit, debug=getOption("oceDebug"))
read.ctd
data
x
name
class
"ctd"
ctd-class
library(oce) data(ctd) SS <- ctd[["salinity"]]^2 ctdNew <- ctdAddColumn(ctd, SS, "ss", expression(paste(S^2, "[", PSU^2, "]"))) plotProfile(ctdNew, "ss")
Run the code above in your browser using DataLab