trast: Create a template raster layer

trastR Documentation

Create a template raster layer

Description

For some home-range estimation methods (e.g., KDE) a template raster is needed. This functions helps to quickly create such a template raster.

Usage

make_trast(x, ...)

## S3 method for class 'track_xy'
make_trast(x, factor = 1.5, res = max(c(extent_max(x)/100, 1e-09)), ...)

Arguments

x

[track_xy, track_xyt]
A track created with make_track.

...

Further arguments, none implemented.

factor

⁠[numeric(1)=1.5]{>= 1}⁠
Factor by which the extent of the relocations is extended.

res

⁠[numeric(1)]⁠
Resolution of the output raster.

Value

A RastLayer without values.


amt documentation built on June 25, 2024, 1:14 a.m.