env.fn: Evaluate the plateau envelope function

Description Usage Arguments Value

View source: R/env.fn.R

Description

env.fn evaluates the plateau envelope for a given set of parameters and a given set of climate covariates. Called by the internal fitting function glm.env.fn and the map plotting function plot.map.

Usage

1
env.fn(pars, x.clim, slope.limit = 25)

Arguments

pars

The vector of envelope parameters, length 2p+p+2+p(p-1)/2.

x.clim

The n by p matrix of climate covariates.

slope.limit

A scalar putting an upper bound on the envelope slopes; limit is approximately exp(slope.limit).

Value

A list of several named objects: the evaluations of the envelope in a vector x.envelope; and two objects (beta.mat and ax.vec) used by the glm.env.fn function when penalising the deviance.


MarkJBrewer/plateau documentation built on May 7, 2019, 3:35 p.m.