predict.slmfit() function.R/print.predict.slmfit.R
print.predict.slmfit.RdThis function uses the object that is output from predict.slmfit() of class predict.slmfit.
is a prediction object generated from predict.slmfit()
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)
#> Prediction Info:
#> Prediction SE 90% LB 90% UB
#> counts 813.2 24.64 772.6 853.7
#> Numb. Sites Sampled Total Numb. Sites Total Observed Average Density
#> counts 35 40 679 26.77