Learn R Programming

adehabitat (version 1.3)

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

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

distfacmap(x)

Arguments

x
an object of class asc and of type factor

Value

  • An object of class kasc.

See Also

import.asc for further info on objects of class asc.

Examples

Run this code
data(puechabon)
asp <- getkasc(puechabon$kasc, "Aspect")
image(asp)
sor <- distfacmap(asp)
image(sor)

Run the code above in your browser using DataLab