pt-class: Class to store pressure-temperature recorder data
Description
Class to store pressure-temperature recorder data, with standard
slots metadata
, data
and processingLog
.Methods
Data may be accessed as e.g. pt[["time"]]
, where the
string could also be "pressure"
or "temperature"
. Assignment
to these can be made with e.g. pt[["pressure"]] <- value
, etc.
Indeed, any quantity in the metadata
slot or the data
slot
can be retrieved or updated in this way.See Also
A pt
object may be read with read.pt
or created
with as.pt
. Plots can be made with plot.pt
,
while summary.pt
produces statistical summaries and
show
produces overviews. If atmospheric pressure has not been
removed from the data, the functions ptPatm
may provide
guidance as to its value. Similarly, if the record contains periods when
the instrument was in the air, ptTrim
may prove useful in
isolating the times when it was in the water. However, these last two
functions are no equal to decent record-keeping at sea.