- out
Output from BSTFA or BSTFAfull.
- location
Either a single integer indicating the location in the data set to provide predictions or a vector of length 2 providing the longitude and latitude of the new location. If location=NULL (default), the function will return predictions for all in-sample locations.
- type
One of all, mean (default), median, ub, or lb indicating which summary statistic of the predicted values to return.
- ci.level
If type='lb' or 'ub', the percentiles for the posterior interval.
- new_x
If the original model included covariates x, include the same covariates for prediction location.
- pred.int
Logical scalar indicating whether to include additional uncertainty for posterior predictive intervals (TRUE) or not (FALSE; default -- intervals represent posterior probabilities around the mean of location).