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

View source: R/get.TL.R

get.TLR 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)

rwc documentation built on April 4, 2025, 4:40 a.m.