distfacmap: Compute distances to the different levels of a factor map

Description Usage Arguments Value Author(s) See Also Examples

Description

This function computes map of distances to patches belonging to the different levels of a map of class asc and of type factor.

Usage

1

Arguments

x

an object of class asc and of type factor

Value

An object of class kasc.

Author(s)

Clement Calenge clement.calenge@oncfs.gouv.fr

See Also

asc for further info on objects of class asc. To compute distance maps from points, lines or polygons, see distmap in the package spatstat.

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(puechabon)
asp <- getkasc(puechabon$kasc, "Aspect")
image(asp)
sor <- distfacmap(asp)
image(sor)

## End(Not run)

adehabitat documentation built on Jan. 28, 2018, 5:02 p.m.