print.lnre {zipfR} | R Documentation |
Printing LNRE Models (zipfR)
Description
Implementations of the print
and summary
methods for LNRE models (subclasses of lnre
).
Usage
## S3 method for class 'lnre'
print(x, ...)
## S3 method for class 'lnre'
summary(object, ...)
Arguments
x , object |
an object of class |
... |
other arguments passed on from generic method will be ignored |
Details
NB: implementation details and format of the summary are subject to change in future releases
In the current implementation, print
and summary
produce
the same output for LNRE models.
This summary comprises the type of LNRE model, its parameter values,
derived parameters such as normalization constants, and the population
size S
.
If the model parameters have been estimated from an observed frequency spectrum, a comparison of the observed and expected frequency spectrum is shown, including goodness-of-fit statistics.
Value
NULL
Unlike other implementations of the summary
method,
summary.lnre
only prints a summary on screen and does not return
a special "summary" object.
See Also
See the lnre
manpage for more information on LNRE
models.
Examples
# load Brown verbs dataset and estimate lnre models
data(BrownVer.spc)
zm <- lnre("zm",BrownVer.spc)
fzm <- lnre("fzm",BrownVer.spc,exact=FALSE)
gigp <- lnre("gigp",BrownVer.spc)
# look at summaries with either summary or print
summary(zm)
print(zm)
summary(fzm)
print(fzm)
summary(gigp)
print(gigp)