dtq_pulse | R Documentation |
Adds a pulse to a discharge or stage time series.
dtq_pulse(
x,
dtt = "DateTime",
colname = "Discharge",
start = x[[dtt]][1],
duration = 1L,
target = 0,
rate_down = Inf,
rate_up = rate_down,
units = dtt_units(x[[dtt]])
)
x |
A dts data frame |
dtt |
A string specifying the column with the Date or POSIXct values. |
colname |
A character vector specifying the column(s) with the discharge and/or stage data. |
start |
A dtt object of the start time. |
duration |
A positive integer of the duration. |
target |
The target discharge. |
rate_down |
A positive number of the maximum absolute rate when dropping the discharge. |
rate_up |
A positive number of the maximum rate when increasing the discharge. |
units |
A string of the units. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.