View source: R/gets-logitx-source.R
coef.logitx | R Documentation |
Extraction functions (of type S3 methods) for objects of class 'logitx'
## S3 method for class 'logitx' coef(object, ...) ## S3 method for class 'logitx' fitted(object, zero.prob=FALSE, ...) ## S3 method for class 'logitx' logLik(object, ...) ## S3 method for class 'logitx' plot(x, ...) ## S3 method for class 'logitx' print(x, signif.stars=TRUE, ...) ## S3 method for class 'logitx' summary(object, ...) ## S3 method for class 'logitx' toLatex(object, digits = 4, gof = TRUE, nonumber = FALSE, nobs = "T", ...) ## S3 method for class 'logitx' vcov(object, ...)
object |
an object of class 'logitx' |
x |
an object of class 'logitx' |
zero.prob |
|
signif.stars |
|
digits |
integer, the number of digits in the LaTeX print |
gof |
logical that determines whether goodness-of-fit information should be included in the LaTeX print |
nonumber |
logical that determines whether a "nonumber" tag should be added to each equation in the LaTeX print |
nobs |
character that determines the label for the number of observations in the LaTeX print |
... |
additional arguments |
Various, depending on the method
Genaro Sucarrat, http://www.sucarrat.net/
logitx
, logitxSim
, gets.logitx
##simulate from ar(1): set.seed(123) #for reproducibility y <- logitxSim(100, ar=0.3) ##estimate and store result: mymod <- logitx(y, ar=1) ##extract stuff: coef(mymod) fitted(mymod) logLik(mymod) plot(mymod) print(mymod) summary(mymod) toLatex(mymod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.