logLik.spmodel | R Documentation |
Find the log-likelihood of a fitted model when estmethod
is "ml"
or "reml"
.
## S3 method for class 'splm'
logLik(object, ...)
## S3 method for class 'spautor'
logLik(object, ...)
## S3 method for class 'spglm'
logLik(object, ...)
## S3 method for class 'spgautor'
logLik(object, ...)
object |
A fitted model object from |
... |
Other arguments. Not used (needed for generic consistency). |
The log-likelihood.
spmod <- splm(z ~ water + tarp,
data = caribou,
spcov_type = "exponential", xcoord = x, ycoord = y
)
logLik(spmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.