I wanted to use the
compana() function from the
adehabitat package in R. I don't really understand the meaning of the data in the example they provide (from aebisher et al., 1993).
The two main arguments of the
compana function are:
compana(used, avail, other.arguments…)
a matrix or a data frame describing the percentage of use of habitats (in columns) by animals (in rows).
a matrix or a data frame describing the percentage of availability of habitats (in columns) by animals (in rows).
"[..] a data frame describing the percentage of availability of habitats by animals"
By 'Availability of a habitat', I guess it means the proportions of these habitats that were not used. Isn't it? But then, how can this be categorized into different species?
I guess I am missing something easy in the functioning of this statistical tool!
One can run that in R to get more info:
install.packages("adehabitat") require(adehabitat) ?compana # The following code comes from the example provided in the help page data(pheasant) pheasant$mcp pheasant$studyarea compana(pheasant$mcp, pheasant$studyarea, test = "parametric")