gev_rl: Calculate Return Values

View source: R/gev.R

gev_rlR Documentation

Calculate Return Values

Description

Calculates return values for each set of covariates specified in both data and the model.

Usage

gev_rl(n, gevmodel, data)

Arguments

n

value for which the return value is calculated for

gevmodel

object of class "gev", fit by gev_fit

data

data frame to find return values for, using parameter estimates from gevmodel

Details

The n-level return value is defined as the largest expected return over the next n time period. For example, if the maxima is measured yearly, this would be the n-year return value.

Value

a new data frame with an additional column return, containing the return values for the corresponding other entries in the data frame


dannyjameswilliams/danielR documentation built on Aug. 20, 2023, 3:25 a.m.