get.TL {rwc} | R Documentation |
Construct a transition list from a raster or raster stack
Description
This computes a list of log-transition matrices as a preliminary step to creating a precision matrix from covariate rasters.
Usage
get.TL(rast.stack)
Arguments
rast.stack |
A raster layer or raster stack object. |
Value
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'.
Author(s)
Ephraim M. Hanks
References
Hanks and Hooten 2013. Circuit theory and model-based inference for landscape connectivity. Journal of the American Statistical Association. 108(501), 22-33.
Examples
int=raster(nrow=30,ncol=30)
values(int)=1
TL.int=get.TL(int)
Q.int=get.Q(TL.int,1)
image(Q.int)
[Package rwc version 1.11 Index]