Description Usage Arguments References Examples
Return a square matrix of the distance between points in the seasonal space. It is equivalent Euclidean distance applied to regularity (radius) and timing (angle) as cartesian coordinates.
1 | DistSeason(x, ...)
|
r, a |
Coordinates in the seasonal space: radius 'r' and angle 'a'. |
form, x |
Formula and dataset providing the coordinates of the seasonal space. Must be of the form 'radius ~ angle'. |
w |
Scale factor to standardize difference between angles. |
Durocher, M., Burn, D. H., & Ashkar, F. (2019). Comparison of estimation methods for a nonstationary index-flood model in flood frequency analysis using peaks over threshold. https://doi.org/10.31223/osf.io/rnepc
1 2 | scoord <- data.frame(radius = runif(5), angle = runif(5,0,2*pi))
DistSeason(radius ~ angle , scoord)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.