DistSeason: Distance in seasonal space

Description Usage Arguments References Examples

Description

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.

Usage

1

Arguments

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.

References

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

Examples

1
2
scoord <- data.frame(radius = runif(5), angle = runif(5,0,2*pi))
DistSeason(radius ~ angle , scoord)

martindurocher/floodStat documentation built on May 31, 2019, 12:42 a.m.