cof2parms {dwp}R Documentation

Convert GLM Coefficients into Named Distribution Parameters

Description

Convert GLM Coefficients into Named Distribution Parameters

Usage

cof2parms(x, ...)

## S3 method for class 'matrix'
cof2parms(x, distr, ...)

## S3 method for class 'numeric'
cof2parms(x, distr, ...)

## S3 method for class 'dd'
cof2parms(x, ...)

## S3 method for class 'matrix'
parms2cof(x, distr, ...)

Arguments

x

object (vector or matrix of parameters, dd, or glm) with named glm parameters ("r", "I(r^2)", "I(r^3)", "log(r)", or "I(1/r)"). NOTE: This function has minimal error-checking.

...

ignored

distr

name of the distribution

Value

matrix of parameters


[Package dwp version 1.1 Index]