.gev.postpred {mev} | R Documentation |
This function calculates the posterior predictive density at points x based on a matrix of posterior density parameters
.gev.postpred(x, posterior, Nyr = 100, type = c("density", "quantile"))
x |
|
posterior |
|
Nyr |
number of years to extrapolate |
type |
string indicating whether to return the posterior |
a vector of values for the posterior predictive density or quantile at x
, depending on the value of type