powered by
Computes the Generalized R-squared.
GR2(object)
the value for generalized R-squared
is an object of class slmfit.
slmfit
data(exampledataset) ## load a toy data set slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset, xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar') GR2(slmobj)
Run the code above in your browser using DataLab