Extract Log-Likelihood from a fitted class slmfit object

loglik.slmfit(object, ...)

Arguments

object

is a class slmfit object

...

additional arguments

Value

the log-likelihood of the model fit in the slmfit object

Examples

data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
loglik.slmfit(slmobj)
#> [1] -127.5365