GR2: Computes the Generalized R-squared.

View source: R/GR2.R

GR2R Documentation

Computes the Generalized R-squared.

Description

Computes the Generalized R-squared.

Usage

GR2(object)

Arguments

object

is an object of class slmfit.

Value

the value for generalized R-squared

Examples

data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
GR2(slmobj)

highamm/sptotal documentation built on Aug. 12, 2024, 2:04 a.m.