get.TL | R Documentation |
This computes a list of log-transition matrices as a preliminary step to creating a precision matrix from covariate rasters.
get.TL(rast.stack)
rast.stack |
A raster layer or raster stack object. |
A list of length equal to the number of raster layers in rast.stack. Each element in the list is a sparse Matrix of class 'dgCMatrix'.
Ephraim M. Hanks
Hanks and Hooten 2013. Circuit theory and model-based inference for landscape connectivity. Journal of the American Statistical Association. 108(501), 22-33.
int=raster(nrow=30,ncol=30)
values(int)=1
TL.int=get.TL(int)
Q.int=get.Q(TL.int,1)
image(Q.int)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.