Questions tagged [adehabitathr]
R package for home range estimation
adehabitathr
65
questions
1
vote
0
answers
25
views
Error in "as.ltraj" in r: "Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 1, 1206, 0"
I am trying to work out the tortuosity of echidna movement using GPS data from 10 individuals. The tags were programmed to take hourly fixes, however, since echidnas often are in burrows, the success ...
1
vote
1
answer
81
views
adehabitatHR KUD loop not overlaying mapping correctly in R
I have some code which calculates KUD at 95% from fish position data, restricted by the bounds of a shapefile, and then plots this, and overlays the shapefile on top.
########## BOUND KUD TO SHAPEFILE ...
0
votes
0
answers
21
views
Analysis of trajectories with ltraj returning odd outputs, why?
I am working with tracking data and stumbled upon the functions from the package "adehabitatLT", which I find quite handy for obtaining the descriptive parameters of my trajectories.
All ...
2
votes
1
answer
69
views
Interpreting unexpected values in kerneloverlapHR(method = "PHR") using adehabitat package in R
I am trying to calculate home range overlap for multiple groups of animals using the kerneloverlaphr() function from the adehabitatHR package in R. I am hoping to use the "PHR" method; see ...
0
votes
0
answers
85
views
Calculate the Utilization Distribution Overlap Index (UDOI) in QGIS or in R using a different package than adehabitat
I have a series of home ranges of 2 different species and I need to calculate their overlap (UDOI, specifically). I created these home ranges using the ks package specifically because I wanted to use ...
0
votes
0
answers
20
views
Retain active steps after adehabitatLT
I have a dataset of animal GPS locations and I would like to conduct step-selection functions analysis.
Firstly, for each step, I have calculated its length and turning angle using the R package ...
0
votes
1
answer
131
views
geom_sf missing geometry with SpatialPolygonsDataFrame
I'm working with some GPS collared animals and using LoCoH.a function in the adehabitatHR package to generate a SpatialPolygonsDataFrame.
library(tidyverse)
library(lubridate)
library(adehabitatHR)
...
0
votes
0
answers
22
views
How can I fix error longer object length is not a multiple of shorter object length
I am using the kerneloverlaphr function to estimate the overlap of 10 Home range, however I get
error longer object length is not a multiple of shorter object length.
How can I fix it?
However, I ...
0
votes
1
answer
127
views
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 ...
1
vote
1
answer
75
views
How can I loop a function through every combination of levels of a factor?
I have a dataset containing a set of variables and the coordinates describing their distributions in geographic space:
set.seed(123)
#example dataset:
d <- data.frame(var=as.factor(rep(LETTERS[1:...
2
votes
1
answer
272
views
Is there an sf (or df) based alternative to kernelUD to estimate bivariate normal kernel density?
I am switching from sp to sf but have some analysis which uses kernelUD from adehabitatHR which requires my data to be SpatialPoints. Is there an equivalent which does not use sp, perhaps instead ...
0
votes
0
answers
146
views
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 ...
0
votes
2
answers
145
views
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.
Problem: How to manage memory with parallel processing. A huge amount of memory ...
0
votes
1
answer
123
views
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 ...
0
votes
1
answer
255
views
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 ...