parameters: Extract Constrained and Estimated Parameters from a gnm...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/parameters.R

Description

A function to extract non-eliminated parameters from a "gnm" object, including parameters that were constrained.

Usage

1
parameters(object)

Arguments

object

an object of class "gnm".

Details

parameters acts like coefficients except that for constrained parameters, the value at which the parameter was constrained is returned instead of NA.

Value

A vector of parameters.

Author(s)

Heather Turner

See Also

coefficients, gnm

Examples

1
2
3
4
5
6
RChomog <- gnm(Freq ~ origin + destination + Diag(origin, destination) +
               MultHomog(origin, destination), family = poisson,
               data = occupationalStatus, ofInterest = "MultHomog",
               constrain = "MultHomog.*1")
coefficients(RChomog)
parameters(RChomog)

hturner/gnm documentation built on June 22, 2018, 5:14 a.m.