qpk {GenEst}R Documentation

Quantiles of marginal distributions of \hat{p} and \hat{k}

Description

Calculate quantiles of marginal distributions of \hat{p} and \hat{k} for a pkm model object

Usage

qpk(p, model)

Arguments

p

vector of probabilities

model

A pkm object (which is returned from pkm())

Value

either a list of ncell \times length(p) matrices of quantiles for $p and $k for cells defined by the model object (if model$pOnly == FALSE) or a ncell \times length(p) matrix of quantiles for p

See Also

rpk, pkm

Examples

 # 90% confidence intervals for \code{p} and \code{k}
  mod <- pkm(formula_p = p ~ Visibility * Season, formula_k = k ~ Season,
   data = wind_cleared$SE)
  qpk(p = c(0.05, 0.95), model = mod)


[Package GenEst version 1.4.9 Index]