View source: R/summary.goodnessfit.R
summary.goodnessfit | R Documentation |
Returns (and prints) a summary list for goodnessfit objects.
## S3 method for class 'goodnessfit.lba.ls'
summary(object, digits = 2L, ...)
## S3 method for class 'goodnessfit.lba.ls.fe'
summary(object, digits = 2L, ...)
## S3 method for class 'goodnessfit.lba.ls.logit'
summary(object, digits = 2L, ...)
## S3 method for class 'goodnessfit.lba.mle'
summary(object, digits = 2L, ...)
## S3 method for class 'goodnessfit.lba.mle.fe'
summary(object, digits = 2L, ...)
## S3 method for class 'goodnessfit.lba.mle.logit'
summary(object, digits = 2L, ...)
object |
A given object of the class |
digits |
Number of decimal digits in the results. The default is 2. |
... |
Further arguments (require by generic). |
Enio G. Jelihovschi (eniojelihovs@gmail.com)
Ivan Bezerra Allaman (ivanalaman@gmail.com)
goodnessfit
data('votB')
# Using LS method (default) without constraint
# K = 2
ex1 <- lba(city ~ parties,
votB,
K = 2)
exm <- goodnessfit(ex1)
summary(exm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.