In Tides: Tides

Description Usage Arguments Value Author(s)

Calculate inundation times, i.e. time intervals for which water level h > h0. Care must be taken when there are gaps (long time periods for which there is no data )in the time series. Either the erroneous values have to removed manually, or a wrapper making use of the function gapsts can be used.

1 |

`h ` |
Water level time series. data frame with time and h column |

`h0 ` |
Reference level, either single valued or vector with same length as h |

`h0marg ` |
Margin on reference level, to cope with small fluctuations in the Water level time series |

`dtMax ` |
Maximum time interval in continuous water level series |

`unit ` |
Unit of dtMax |

a list containing:

`IT ` |
Data frame with start time (t1), end time (t2) and duration (dt, unit = unit) of inundation |

`DT ` |
Data frame with start time (t1), end time (t2) and duration (dt, unit = unit) of dry time |

Tom Cox <[email protected]>

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.