Displaying 2 results from an estimated 2 matches for "puechabon".
2009 Jun 25
1
Calculating home ranges using mcp in adehabitat
...didn't work I've
fiddled around with it but to no avail...Below is the output of the demo
that I've attempted to follow, followed by a subset of my data (for one
individual) and the code I've been trying. Can anyone tell me where I may be
going wrong???
#Demo output...
> data(puechabon)
> xy<-puechabon$locs[,c("X","Y")]
> id<-puechabon$locs$Name
> ## The data are:
> xy[1:4,] ## relocations coordinates
X Y
1 699889 3161559
2 700046 3161541
3 698840 3161033
4 699809 3161496
> id[1:4] ## ID
[1] Brock Brock Brock Broc...
2007 Oct 02
0
Adehabitat package question - trying to generate animal home ranges
...9;ve started out by trying to imitate the code in the homerange.r demo that
comes with the ade package. The code I'm trying to repeat with my data is:
###############################################
###############################################
###
### loads the data
library(adehabitat)
data(puechabon)
xy<-puechabon$locs[,c("X","Y")]
id<-puechabon$locs$Name
## The data are:
xy[1:4,] ## relocations coordinates
id[1:4] ## ID
###############################################
###############################################
###
### Home ranges
## MCP
hr<-mcp(xy...