Description Usage Arguments Value Examples
The main purpose of this function is to take the results from FPBK and make
readable maps, a fitted variogram plot, and normal-based prediction intervals. The main input for this function is the output from the FPBK.pred
function.
1 2 3 | FPBKoutput(pred_info, conf_level = c(0.8, 0.9, 0.95),
get_krigmap = TRUE, get_sampdetails = TRUE, get_variogram = TRUE,
pointsize = 2)
|
pred_info |
is the output from |
conf_level |
is the desired confidence level for the prediction. If |
get_krigmap |
is an indicator for whether or not a grid of the kriged responses is returned |
get_sampdetails |
is an indicator for whether or not a summary of the sampled counts should be output. This summary includes the total number of animals or plants sited, the total area surveyed, the number of sampled sites, the total number of sites, etc. |
get_variogram |
is an indicator for whether or not a variogram of the residuals should be returned |
pointsize |
is the size of the points on the spatial graphic. |
prediction for the total with prediction intervals
a map of the kriged counts (optional)
a summary of the sample data (optional)
an empirical variogram from gstat
with the fitted variogram model with details of the empirical variogram and spatial parameter estimates (optional)
a data frame with the site-by-site predictions
1 2 3 4 5 | slmfitobj <- slmfit(formula = Moose ~ CountPred + Stratum,
data = vignettecount,
xcoordcol = "Xcoords", ycoordcol = "Ycoords")
predobj <- predict(object = slmfitobj)
FPBKoutput(pred_info = predobj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.