Description Usage Arguments Value Author(s) References See Also Examples
plot.sahrlocs
applies the function widesII
or
widesIII
for each variable in the object of class
sahrlocs
, and the results are stored in a list. Then, the
function plot.wi
is applied to each component of
the list. This allows to investigate habitat selection by animals at
several scales for design II and III data.
1 2 3 4 5 |
x |
an object of class |
ani |
a character vector. This vector contains the names
of the animals in |
var |
a character vector. This vector contains the names
of the variables in |
type |
a character string. Type of habitat selection that should
be investigated.
If |
ncla |
numeric variables are converted to factors. This parameter controls the number of classes of these factors |
ylog |
logical. If |
caxis |
character size on axes to be passed to
|
clab |
character size of axes labels to be passed to
|
errbar |
a character string. Type of error bars: either
|
alpha |
the alpha-level for the tests |
draw |
logical. If |
... |
further arguments to be passed to the function
|
The function returns a list of objects of class wiII
or
wiIII
(one component per animal).
Clement Calenge clement.calenge@oncfs.gouv.fr
Manly B.F.J., McDonald L.L., Thomas, D.L., McDonald, T.L. & Erickson, W.P. (2003) Resource selection by animals - Statistical design and Analysis for field studies. Second edition. London: Kluwer academic publishers.
widesII
and widesIII
for further
information on objects of class wiII
and wiIII
,
as.sahrlocs
for further information on objects of class
sahrlocs
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(puechabon)
sahr <- puechabon$sahr
toto <- plot(sahr)
### Note that the wild boars named Brock and Calou
### have only one herbaceous cover class available
### (the second one), and they use it exclusively.
### So they have identical
### selection ratios (that's why the curve of Brock
### does not appear: it is hidden behind the curve
### of the boar named Calou).
toto
toto$Elevation
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.