coef.slmfit: Extract Model Coefficients from a 'slmfit' object

View source: R/coef.slmfit.R

coef.slmfitR Documentation

Extract Model Coefficients from a slmfit object

Description

Extract Model Coefficients from a slmfit object

Usage

## S3 method for class 'slmfit'
coef(object, ...)

Arguments

object

a slmfit object

...

further arguments passed to or from other methods.

Value

a vector of fitted model coefficients.

Examples

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

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