Skip to contents

Given a vector of location, scale and shape parameters, compute the corresponding parameters for block of size m assuming a generalized extreme value distribution.

Usage

maxstable(pars, m = 1L, inverse = FALSE)

Arguments

pars

vector of location, scale and shape parameters

m

[integer] block size

inverse

[logical] whether to compute the parameters for the inverse relationship (defaults to FALSE)

Examples

maxstable(pars = maxstab(pars = c(1,2,0), m = 10), m = 10, inv = TRUE)
#> Error in maxstable(pars = maxstab(pars = c(1, 2, 0), m = 10), m = 10,     inv = TRUE): could not find function "maxstable"
maxstable(pars = maxstab(pars = c(1,2,0.1), m = 5), m = 1/5)
#> Error in maxstable(pars = maxstab(pars = c(1, 2, 0.1), m = 5), m = 1/5): could not find function "maxstable"