coef.mnp: Extract Multinomial Probit Model Coefficients

Description Usage Arguments Value Author(s) See Also

Description

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.

Usage

1
2
  ## S3 method for class 'mnp'
coef(object, subset = NULL, ...)

Arguments

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.

Value

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.

Author(s)

Kosuke Imai, Department of Politics, Princeton University kimai@Princeton.Edu

See Also

mnp, cov.mnp; MNP home page at http://imai.princeton.edu/research/MNP.html



Search within the MNP package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.