fitted.slmfit {sptotal} | R Documentation |
slmfit
object.Extract Fitted Values from an slmfit
object.
## S3 method for class 'slmfit'
fitted(object, ...)
object |
a |
... |
further arguments passed to or from other methods. |
a vector of fitted values (estimated means)
data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
fitted(slmobj)