View source: R/print.predict.slmfit.R
print.predict.slmfit | R Documentation |
predict.slmfit()
function.This function uses the object that is output
from predict.slmfit()
of class predict.slmfit
.
## S3 method for class 'predict.slmfit'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
x |
is a prediction object generated from |
digits |
is the number of digits to be displayed in the model output |
... |
further arguments passed to or from other methods. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.