parOK {dwp}R Documentation

Check Parameter Value Validity the Distribution

Description

Performs a ouick check on whether the parameters given in parms are valid for the distr.

Usage

parOK(parms, distr)

Arguments

parms

vector or matrix of named glm parameters (with "r" as the distance variable)

distr

name of the distribution

Value

vector (or scalar) of 0s, 1s, and 2s to indicate whether the parameters are non-extensible (i.e., flat-out bogus), valid for the distribution, or valid for the distribution and give finite point densities.


[Package dwp version 1.1 Index]