dot-gev.postpred: Posterior predictive distribution and density for the GEV...

.gev.postpredR Documentation

Posterior predictive distribution and density for the GEV distribution

Description

This function calculates the posterior predictive density at points x based on a matrix of posterior density parameters

Usage

.gev.postpred(x, posterior, Nyr = 100, type = c("density", "quantile"))

Arguments

x

n vector of points

posterior

n by 3 matrix of posterior samples

Nyr

number of years to extrapolate

type

string indicating whether to return the posterior density or the quantile.

Value

a vector of values for the posterior predictive density or quantile at x, depending on the value of type


mev documentation built on Sept. 11, 2024, 8:14 p.m.