Description Usage Arguments Details Value
Compute the seasonal response change signatures: breackpoint date, first period slope (dry), second period slope (wet) and the intercepts associated with these two slopes (only there for plotting purposes).
1 2 3 4 5 6 7 |
PQ |
numeric vector. The cumulative precipitation minus cumulative streamflow (P-Q) vector. |
start |
numeric. The day number of the start of the period to search for a change of trend in P-Q. |
end |
numeric. The day number of the end of the period to search for a change of trend in P-Q. |
bp |
numeric value. The day number of the initial guess of threshold date |
intercept |
logical. Should the intercept be estimated (default: TRUE) or fixed to c(0, 0) (FALSE)? |
This function uses a segmented regression to find the dry and wet slopes. It also returns the intercepts of the two lines (which are not signatures) that can be used to plot the lines.
A named vector of length 6 containing the breakpoint date ('bp'), breakpoint strength signature ('bp_strength'), the slope of the first (dry) period ('slp_dry') and its corresponding intercept ('b_dry'), the slope of the second (wet) period ('slp_wet') and its corresponding intercept ('b_wet')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.