Learn R Programming

lba (version 1.2)

print.goodnessfit: Print Method for goodnessfit objects.

Description

Returns (and prints) a summary list for goodnessfit objects.

Usage

"print"(x, digits = 2L, ...)

Arguments

x
A given object of the class goodnessfit.lba.ls and goodnessfit.lba.mle.
digits
Number of decimal digits in the results.
...
Potential further arguments (require by generic).

See Also

goodnessfit

Examples

Run this code
data('votB')

# Using LS method (default) without constraint
# K = 2
ex1 <- lba(city ~ parties,
           votB,
           K = 2)
exm <- goodnessfit(ex1)
exm 

Run the code above in your browser using DataLab