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.

vector

of values for the posterior predictive density or quantile at x


mev documentation built on April 20, 2023, 5:10 p.m.