Questions tagged [adehabitathr]

R package for home range estimation

adehabitatHR is a collection of tools for the estimation of animals home range.

External Links:

CRAN repository

59 questions
1
vote
1 answer

Viewing design II individual selection ratios

I've been using the R package adehabitat to calculate selection ratios for a project I'm working on involving preferences in animal foraging habitat. When using the function widesII I can see the global (averaged) selection ratios for every animal I…
1
vote
0 answers

AdehabitatLT and ltraj object: how to extract mean distance between relocations?

I have an ltraj object , I would like to extract the mean distance for day and the mean time for day. The date is stored as "("%d/%m/%Y %H.%M.%S"), anyway I just need the relocations that occured during the same day. I have tried the function…
NadiaN
  • 11
  • 4
1
vote
0 answers

adehabitatHR, LoCoH Issue with orphan holes

I am use adehabitatHR to calculate HR's utilizing the LoCoH method. I am attempting to find the optimal settings, but and having trouble because at a number of settings I am getting the following: y<-LoCoH.k(mastermatrix, k=6, unin="m", unout="m",…
1
vote
0 answers

How to address R/Adehabitat error in count.points(locs, maps) : "the cellsize should be the same in x and y directions

I am new to R and this is the first time I am trying to use AdehabitatHS for exploratory niche analysis. I am trying to compute utilization weight of pixels in the SpatialPixelDataset "maps" based on species locations "Locs" using function cp <-…
1
vote
0 answers

How to get rgdal/proj 4 to work for mac

I'm having problems trying to use the adehabitatHR package in R. When I load the rgdal package I get the following error message. > library(rgdal) Loading required package: sp rgdal: version: 1.0-7, (SVN revision 559) Geospatial Data Abstraction…
Perry Helion
  • 81
  • 1
  • 4
1
vote
1 answer

error in .local (obj, ) cannat derive coordinates from non-numeric matrix

I am using adehabitatHR in R, trying to calculate home range overlap. I have successfully loaded two .tsv files with location data for two different animals (individuals 70F and 153F respectively). The .tsv files have 5 columns, 2 of which are the…
CillaP
  • 11
  • 1
  • 4
1
vote
1 answer

error in KernelUD "at least 5 relocations are required to fit a home range"

I have a dataset of bat movement data in the form of polygons. I have created one random point per polygon and looped this to run 100 times. This has created a data frame where each individual bat has 100 loopnos. I am trying to create a kernelUD…
user3237130
  • 37
  • 1
  • 11
1
vote
1 answer

why different home range areas with kernel.area and getverticeshr?

I have used kernelUD from adehabitatHR to estimate kuds for several animals. I then used kernel.area(x,percent=c(50,95),unout="m2",standardize=F) to obtain the kud50 and kud95 areas for each animal. However, when I compare the given values with the…
0
votes
1 answer

Error from adehabitatLT::as.ltraj() because dates are not class POSIXct but str(dates) indicates they are POSIXct

The adehabitatLR::as.ltraj() function calculates animal trajectories. The function requires dates to be class POSIXct. I followed the same steps in the example section of the help document using a play dataset I found online and converted date-time…
Kevin
  • 229
  • 3
  • 9
0
votes
0 answers

How to set a grid for kernelbb() in adehabitatHR packge

I'm trying to calculate home range size of individuals. So, I'm studying several functions in adehabitatHR package, including MCP(), KernelUD(), kernellbb() and BRB(). I'd like to use same grid of background for those analyses. so I made a grid like…
0
votes
2 answers

How to use and understand rstats parallel processing with HPC Acenet Siku cluster, SLURM, futures, rslurm, and lapply() equivalents

Background: I am using the adehabitatHR package to create utilize distribution estimates (UDEs) of wildlife populations. I have a list of UDEs that can be converted into shapefiles using package 'terra' vect(). See lines 657-705 for current…
0
votes
0 answers

R and QGIS: AdehabitatHR: Kernel Homerange size varies in R and later in QGIS - projection mistake?

My code in R: Brgspat <-SpatialPoints((cbind(Brandgans$lon, Brandgans$lat)),proj4string= CRS( " +proj=longlat + datum=WGS84")) that means unprojected geographical data Brgspat <- spTransform(Brgspat,"+init=epsg:25832" ) that means now it is…
Tagmarie
  • 1
  • 1
0
votes
1 answer

ADEHabitat Smoothing parameters Sig1and2

I am trying to build some BBMM code and although it produces the outputs I want, I am having trouble figuring out the proper smoothing parameters using Sig 1 and Sig 2. When I use the liker function it produces the exact same curve for every…
0
votes
0 answers

adehabitat KUD loop setting grid and extent

I'm calculating KUD and kernal area using the adehabitat package. I'm doing this for individual animals in my dataset, and as such I'm running a loop which calculates the KUD for each animal in a predefined list. However, at the end of the loop I…
mikejwilliamson
  • 405
  • 1
  • 7
  • 17
0
votes
1 answer

How to create an estUDm object from utilization distributions created with GIS?

I created kernel densities/utilization distributions for multiple animals in ArcGIS Pro instead of using the adehabitatHR package in R because I needed a different smoothing parameter estimator and I had a difficult boundary to work with. Now I have…
LauraS
  • 1
  • 1