Learn R Programming

dwp (version 1.1)

cof2parms: Convert GLM Coefficients into Named Distribution Parameters

Description

Convert GLM Coefficients into Named Distribution Parameters

Usage

cof2parms(x, ...)

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

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

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

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

Value

matrix of parameters

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