number.tides {VulnToolkit} | R Documentation |
Numbers tidal cycles, flood tides, and ebb tides
Description
Numbers tidal cycles, flood tides, and ebb tides in a set of water level data.
Usage
number.tides(data, datetime, hl)
Arguments
data |
dataframe to modify (containing water levels, time stamps) |
datetime |
date/time column from full dataset (used as 'time' argument
in call to |
hl |
output from |
Details
Numbers tidal cycles, flood tides, and ebb tides in a set of water level data.
Value
the dataframe noted in data
, with additional columns
assigning a number to each tidal cycle, ebb tide, and flood tide.
See Also
Examples
# build high-low dataset
HL.NL <- HL(level = NL_6min_2013[,2], time = NL_6min_2013[,1])
# number tides in original
nos <- number.tides(data = NL_6min_2013, datetime = NL_6min_2013[,1], HL.NL)
head(nos)
[Package VulnToolkit version 1.1.4 Index]