Learn R Programming

GLmom (version 1.3.1)

set.para.model: Set parameters based on non-stationary model type

Description

Internal function that maps a flat parameter vector to named location (mu), scale (sig), and shape (xi) components depending on the model specification (GEV00, GEV10, GEV11, GEV20, GEV01).

Usage

set.para.model(para, model = NULL)

Value

A list containing:

mu

Numeric vector c(mu0, mu1, mu2) for location

sig

Numeric vector c(sigma0, sigma1) for log-scale

xi

Shape parameter (scalar)

Arguments

para

Parameter vector whose length and meaning depend on model.

model

Model type: "gev11", "gev10", "gev20", "gev01", or "gev00"/"gev".