Computes the Generalized R-squared.
GR2(object)
object
: is an object of class slmfit
.the value for generalized R-squared
data(exampledataset) ## load a toy data set slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset, xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar') GR2(slmobj)