coef.slmfit {sptotal} | R Documentation |
Extract Model Coefficients from a slmfit
object
Description
Extract Model Coefficients from a slmfit
object
Usage
## S3 method for class 'slmfit'
coef(object, ...)
Arguments
object |
a |
... |
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)
[Package sptotal version 1.0.1 Index]