Extract Log-Likelihood from a SIR Model
logLik.sir.RdReturns the log-likelihood at convergence as a logLik object, with
attributes for degrees of freedom and number of observations. This allows
AIC() and BIC() to work directly on the result.
Usage
# S3 method for class 'sir'
logLik(object, ...)Arguments
- object
A fitted
sirobject fromsir.- ...
Additional arguments (unused).