extract_time_space: Extract time and space information

View source: R/helper.R

extract_time_spaceR Documentation

Extract time and space information

Description

Extracts time (from date column) and space (aka depth) information

Usage

extract_time_space(wtemp)

Arguments

wtemp

matrix; Water temperatures (rows correspond to time, cols to depth)

Value

list of datetimes and depths

Examples

## Not run: 
wtemp <- data.frame(
  date = c("1979-04-02", "1979-04-02"),
  temp_0 = c(0, 0),
  temp_1 = c(1, 1),
  stringsAsFactors = FALSE)
extract_time_space(wtemp)

## End(Not run)

jsta/odem.data documentation built on Feb. 10, 2023, 3:56 a.m.