print.predict.slmfit: Prints a short summary for the 'predict.slmfit()' function.

View source: R/print.predict.slmfit.R

print.predict.slmfitR Documentation

Prints a short summary for the predict.slmfit() function.

Description

This function uses the object that is output from predict.slmfit() of class predict.slmfit.

Usage

## S3 method for class 'predict.slmfit'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

is a prediction object generated from predict.slmfit()

digits

is the number of digits to be displayed in the model output

...

further arguments passed to or from other methods.

Examples

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

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