bkpt_ymax {elfgen} | R Documentation |
This applies the Ymax elfgen method. This approach treats the maximum observed species richness value as the breakpoint. This function begins by locating the point with the highest y-value in the full dataset, then utilizing the associated x-value as the breakpoint.
bkpt_ymax(watershed.df)
watershed.df |
A dataframe of sites with ecological and hydrologic data |
Breakpoint value is returned
# We don't run this example by R CMD check, because it takes >10s
watershed.df <- elfdata(watershed.code = '0208020104', ichthy.localpath = tempdir())
bkpt_ymax(watershed.df)