coef.mnp {MNP} | R Documentation |
coef.mnp
is a function which extracts multinomial probit model
coefficients from ojbects returned by
mnp
. coefficients.mnp
is an alias for it. coef
method for class mnp
.
## S3 method for class 'mnp': coef(object, subset = NULL, ...)
object |
An output object from mnp . |
subset |
A scalar or a numerical vector specifying the row
number(s) of param in the output object from mnp . If
specified, the posterior draws of coefficients for those rows are
extracted. The default is NULL where all the posterior draws
are extracted.
|
... |
further arguments passed to or from other methods. |
coef.mnp
returns a matrix (when a numerical vector or
NULL
is specified for subset
argument) or a vector (when
a scalar is specified for subset
arugment) of multinomila
probit model coefficients.
Kosuke Imai, Department of Politics, Princeton University kimai@Princeton.Edu
mnp
, cov.mnp
; MNP home page at
http://imai.princeton.edu/research/MNP.html