Skip to content

Function Library #39

@ilonah22

Description

@ilonah22

@julieshortridge suggested that it may be helpful for us to put some information about all of the functions that we have been using into one place. So, we are going to start adding some of those here, that way we can make sure functions aren't being duplicated and we can take suggestions on how to make them more efficient.

  • bf_event_identifier - finds all baseflow events for a given time series (note: this does NOT retrieve data, it expects a properly formatted dataframe with flow timeseries).
  • bf_event_stats - performs statistical analysis on an event to determine R, slope, and p-value, etc.
  • trim_event_buffer
  • trim_event_mk(event_df, alpha = 0.10, min_len_mk = 3, flag_len = 5): take a dataframe with a single event in it, iterates through trimming in order to arrive at an event with a Mann-Kendall p-value that is greater than the given threshold.
    • event_df
    • alpha
    • min_len_mk
    • flag_len

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions