File: coef.mnp.Rd

package info (click to toggle)
r-cran-mnp 3.1-5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,488 kB
  • sloc: ansic: 930; sh: 13; makefile: 5
file content (37 lines) | stat: -rw-r--r-- 1,282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coef.mnp.R
\name{coef.mnp}
\alias{coef.mnp}
\title{Extract Multinomial Probit Model Coefficients}
\usage{
\method{coef}{mnp}(object, subset = NULL, ...)
}
\arguments{
\item{object}{An output object from \code{mnp}.}

\item{subset}{A scalar or a numerical vector specifying the row number(s) of
\code{param} in the output object from \code{mnp}. If specified, the
posterior draws of coefficients for those rows are extracted. The default is
\code{NULL} where all the posterior draws are extracted.}

\item{...}{further arguments passed to or from other methods.}
}
\value{
\code{coef.mnp} returns a matrix (when a numerical vector or
\code{NULL} is specified for \code{subset} argument) or a vector (when a
scalar is specified for \code{subset} arugment) of multinomila probit model
coefficients.
}
\description{
\code{coef.mnp} is a function which extracts multinomial probit model
coefficients from ojbects returned by \code{mnp}. \code{coefficients.mnp} is
an alias for it. \code{coef} method for class \code{mnp}.
}
\seealso{
\code{mnp}, \code{vcov.mnp};
}
\author{
Kosuke Imai, Department of Government and Department of Statistics, Harvard University
\email{kimai@Princeton.Edu}
}
\keyword{methods}