Description Usage Arguments Value Examples
Takes the output of slmfit
and uses FPBK to predict the counts on the unsampled sites.
The column with the counts should have numeric values for the observed counts
on the sampled sites and 'NA' for any site that was not sampled.
1 2 3 |
object |
is an object generated from |
FPBKcol |
is the name of the column that contains the weights for prediction. The default setting predicts the population total. |
detinfo |
is a vector consisting of the mean detection
probability and its standard error. By default, it is set to
|
... |
Additional arguments |
a list of class sptotalPredOut
with
the estimated population total
the estimated prediction variance
a data frame containing the original data with the following variables appended:
x-coordinates in UTM
y-coordinates in UTM
sitewise count predictions
sitewise prediction variances
indicator variable for whether or not the each site was sampled
estimated mean for each site
estimated detection probability for each site
the area of each site
vector with estimated covariance parameters
the model formula used in slmfit
the correlation model used
the prediction weights.
1 2 3 4 | slmfitobj <- slmfit(formula = Moose ~ CountPred + Stratum,
data = vignettecount,
xcoordcol = "Xcoords", ycoordcol = "Ycoords")
predict(object = slmfitobj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.