powered by
slmfit
Extract Fitted Values from an slmfit object.
# S3 method for slmfit fitted(object, ...)
a vector of fitted values (estimated means)
a slmfit object generated from the slmfit() function.
slmfit()
further arguments passed to or from other methods.
data(exampledataset) ## load a toy data set slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset, xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar') fitted(slmobj)
Run the code above in your browser using DataLab