This GPS dataset contains the locations of 10 Eastern grey kangaroos Macropus giganteus monitored between 05/01/2010 to 21/12/2011 in South East Queensland, Australia.
Data supplied E.C. Best from the School of Biological Sciences, University of Queensland, Australia.
Usage
data(Roos)
Format
A data frame containing GPS location data of individual sightings of M. giganteus with the following 3 variables.
ID
a character vector giving the identity of each kangaroo
x
a numeric vector containing the x coordinate of each individual
y
a numeric vector containing the y coordinate of each individual
Details
The coordinates are given in meters GDA94/MGA zone 55
## Load required packages
library(adehabitatHR)
## Load study data
data(Roos)
## Convert df into a spatial points df object
coordinates(Roos) <- ~x+y
## Plot observed location data with individual kangaroos by colour
plot(Roos,col='red')
## Estimation of UD for the 10 kangaroos
ud <- kernelUD(Roos, same4all=TRUE)
## Plot the UD for the 10 kangaroos
image(ud)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Digiroo2)
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
Loading required package: spatstat
Loading required package: nlme
Loading required package: rpart
spatstat 1.45-2 (nickname: 'Caretaker Mode')
For an introduction to spatstat, type 'beginner'
Loading required package: spdep
Loading required package: Matrix
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Digiroo2/Roos.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Roos
> ### Title: Social network study of Eastern grey kangaroos
> ### Aliases: Roos
> ### Keywords: datasets
>
> ### ** Examples
>
>
> ## Load required packages
> library(adehabitatHR)
Loading required package: deldir
deldir 0.1-12
Loading required package: ade4
Attaching package: 'ade4'
The following object is masked from 'package:spdep':
mstree
The following object is masked from 'package:spatstat':
disc
Loading required package: adehabitatMA
Loading required package: adehabitatLT
Loading required package: CircStats
Loading required package: MASS
Attaching package: 'MASS'
The following object is masked from 'package:spatstat':
area
Loading required package: boot
Attaching package: 'boot'
The following object is masked from 'package:spatstat':
envelope
>
> ## Load study data
> data(Roos)
>
> ## Convert df into a spatial points df object
> coordinates(Roos) <- ~x+y
>
> ## Plot observed location data with individual kangaroos by colour
> plot(Roos,col='red')
>
> ## Estimation of UD for the 10 kangaroos
> ud <- kernelUD(Roos, same4all=TRUE)
>
> ## Plot the UD for the 10 kangaroos
> image(ud)
>
>
>
>
>
>
> dev.off()
null device
1
>