as.rsk | R Documentation |
Create a rsk object.
as.rsk(
time,
columns,
filename = "",
instrumentType = "rbr",
serialNumber = "",
model = "",
sampleInterval = NA,
debug = getOption("oceDebug")
)
time |
a vector of times for the data. |
columns |
a list or data frame containing the measurements at the indicated times; see “Details”. |
filename |
optional name of file containing the data. |
instrumentType |
type of instrument. |
serialNumber |
serial number for instrument. |
model |
instrument model type, e.g. |
sampleInterval |
sampling interval. If given as |
debug |
a flag that can be set to |
The contents of columns
are be copied into the data
slot
of the returned object directly, so it is critical that the names and units
correspond to those expected by other code dealing with
rsk objects. If there is a conductivity, it must be called
conductivity
, and it must be in units of mS/cm. If there is a
temperature, it must be called temperature
, and it must be an in-situ
value recorded in ITS-90 units. And if there is a pressure, it must be
absolute pressure (sea pressure plus atmospheric pressure) and it must
be named pressure
. No checks are made within as.rsk
on any of
these rules, but if they are broken, you may expect problems with any further
processing.
An rsk object.
Dan Kelley
Other things related to rsk data:
[[,rsk-method
,
[[<-,rsk-method
,
ctdFindProfilesRBR()
,
plot,rsk-method
,
read.rsk()
,
rsk
,
rsk-class
,
rskPatm()
,
rskToc()
,
subset,rsk-method
,
summary,rsk-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.