Compute distances to the different levels of a factor map

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.