Extract Model Coefficients from a slmfit object

# S3 method for slmfit
coef(object, ...)

Arguments

object

a slmfit object

...

further arguments passed to or from other methods.

Value

a vector of fitted model coefficients.

Examples

data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
coef(slmobj)
#> (Intercept)       pred1       pred2 
#>  26.1044332   2.0554473   0.2140165