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)

sptotal documentation built on Dec. 12, 2022, 1:06 a.m.