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

Description Usage Arguments Examples

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

Description

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

Usage

1
2
## 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

1
2
3
4
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 July 6, 2021, 5:07 p.m.