predict_mbm_raster: Prediction for MBM from a raster dataset

Description Usage Arguments Value

View source: R/predict_mbm.r

Description

Prediction for MBM from a raster dataset

Usage

1
predict_mbm_raster(x, rasterdat, ...)

Arguments

x

A previously-fit MBM object

rasterdat

Raster stack containing named layers matching the variable names in x (i.e., colnames(x$covariates)[-1]). If a layer named 'names' is included, this layer will be used as sitenames, otherwise they will be assigned unique numbers

...

Other named parameters to pass to predict.mbm.

Value

A named list; fits is a cell by cell matrix of predictions (on the link scale; use x$y_rev_transform(x$rev_link(predictions$fit)) for the response scale), stdev is a cell by cell matrix of standard deviations, and coords is a matrix of coordinates. Row/column names in fits and stdev match the rownames in coords.


mtalluto/mbm documentation built on Aug. 13, 2019, 9:43 a.m.