powered by
data
add.column(x, data, name)
ctd
read.ctd
x$data
class
oce
add.ctd.column
library(oce) data(ctd) sigthe <- sw.sigma.theta(ctd$data$salinity, ctd$data$temperature, ctd$data$pressure); new <- add.column(ctd, sigthe, "sigmatheta")
Run the code above in your browser using DataLab