Learn R Programming

sptotal (version 1.0.1)

loglik.slmfit: Extract Log-Likelihood from a fitted class slmfit object

Description

Extract Log-Likelihood from a fitted class slmfit object

Usage

loglik.slmfit(object, ...)

Value

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

Arguments

object

is a class slmfit object

...

additional arguments

Examples

Run this code
data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
loglik.slmfit(slmobj)

Run the code above in your browser using DataLab