get.TL: Construct a transition list from a raster or raster stack

Description Usage Arguments Value Author(s) References Examples

Description

This computes a list of log-transition matrices as a preliminary step to creating a precision matrix from covariate rasters.

Usage

1
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

1
2
3
4
5
int=raster(nrow=30,ncol=30)
values(int)=1
TL.int=get.TL(int)
Q.int=get.Q(TL.int,1)
image(Q.int)

rwc documentation built on May 2, 2019, 3:34 p.m.