returnlevels {SpatialModelsZAMG}R Documentation

Calculate return levels

Description

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

Usage

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

# 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)

[Package SpatialModelsZAMG version 1.0.2 Index]