get.predinfo-deprecated | R Documentation |
get.predinfo()
has been deprecated. Information given
is now provided in the basic print of a
predict.slmfit()
object. Creates a list of tables
that shows the prediction, standard error, and
confidence interval for the prediction, as well as some summary
information about the sample.
get.predinfo(x, conf_level = 0.9)
x |
the output of the |
conf_level |
is the confidence level for a normal-based confidence interval (default = 0.90). |
a list of three tables, including
simptab
, which contains the prediction and its
standard error,
confbounds
, which contains a confidence interval
for the prediction, and
outptmat
, a table of sampling information,
including the number of sites sampled, the total number of sites,
the total observed response, and the
observed average density (equal to the average response if all
site areas are equal).
data(exampledataset) ## load a toy data set
slmobj <- slmfit(formula = counts ~ pred1 + pred2, data = exampledataset,
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
predobj <- predict(slmobj)
## Not Run
## get.predinfo(predobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.