Description Usage Arguments Value See Also Examples
Extracts the depth information from a data frame containing multi-depth observation data. Relies on the format of the header to get information and may fail if your file format is incorrect. Please follow 'VAR_##.#' format, where ##.# is the depth of data for that column. VAR is typically 'wtr' to indicate water temperature.
1 |
data |
Data frame returned from |
A numeric vector of depth values. Should be the ncol(data) -
1
in length as the first column contains date/time data.
1 2 3 4 5 6 7 8 9 10 | #Get the path for the package example file included
exampleFilePath <- system.file('extdata', 'Sparkling.wtr', package="rLakeAnalyzer")
#Load
sparkling.temp = load.ts(exampleFilePath)
#get the lake depths associated with each column
depths = get.offsets(sparkling.temp)
print(depths)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.