returnlevels: Calculate return levels

Description Usage Arguments Value See Also Examples

View source: R/returnlevels.R

Description

this function calculates the return levels according to the given GEV parameters GEVparam and a return period of q years

Usage

1
returnlevels(GEVparam, q)

Arguments

GEVparam

a named matrix or vector with the GEV parameters. each row corresponds to one location, columns are loc, scale and shape

q

the return period for the calculation of return levels – must be a number greater than 1

Value

a vector with the return levels for each location

See Also

GEVparameters_from_models, returnlevel_plot, returnlevel_map, cond_returnlevels

Examples

1
2
3
4
5
6
7
8
# load function output from GEVparameters_from_models
sd_GEVparam  = get(data("sd_GEVparam"))
swe_GEVparam = get(data("swe_GEVparam"))

# calculate returnlevels
q = 100
sd_rl  = returnlevels(GEVparam = sd_GEVparam,  q = q)
swe_rl = returnlevels(GEVparam = swe_GEVparam, q = q)

SpatialModelsZAMG documentation built on Nov. 11, 2019, 3 p.m.