search for: adehabitathr

Displaying 15 results from an estimated 15 matches for "adehabitathr".

2013 Feb 06
0
adehabitatHR - Creating Biased Random Bridge UD with a boundary
...t's the first time that I try to request your support. I intent do use the BRB (Biased Random Bridge) function with a boundary. I believe I have made sure to fulfill all the rules for boundaries (segment length, angle of junction) When calculating the UD I get the following Error: Error in adehabitatHR:::.fbboun(sor2, boundary, sigg, max(so$h)) : non convenient sign Can anyone tell me, what the "clean the other side of the boundary" procedure does, so I can get my boundary to be "convenient". :) I just found these lines (see below) on R-Forge, but unfortunately I do not...
2012 Oct 30
0
lapply and kernelUD (adehabitatHR package): Home Range kernel estimation for a list of individuals
Dear R experts, I'm using the adehabitatHR package in order to perform a kernel analysis and estimate the home range of my input data (GPS relocations of 42 individuals). I've done the analysis for one of the individuals and it worked perfectly (see code below). But now I'm trying to use a list and call the function lapply to do th...
2013 May 17
1
Error with adehabitatHR and kernelbb
Dear all, I'm trying to get a Brownian bridge kernel (kernelbb) for each combination of two consecutive animal locations (see commands below) and put them, with a loop, inside a list. It works well at the beginning but after 42 runs, it appears the following warning : >Error in seq.default(yli[1], yli[2], by = diff(xg[1:2])) :  >  invalid (to - from)/by in seq(.) I looked at the
2012 Jun 21
2
R crashes with >kud<-kernelUD(data, h="LSCV") script
...enter >kud<-kernelUD(data, h="LSCV"), R crashes and closes every time. This does not happen when I perform a different kernel analysis (>kud<-kernelUD(data)).. I have tried to un-install and re-install R, but it still crashes.. The script I am using is as follows:  library(adehabitatHR) library(maptools) data<-read.csv("sa 4 trips 13F.csv") xy = data[c("X", "Y")] id<-data[,c("ID")] coordinates(data) = c("X", "Y")  class(data)  kud<-kernelUD(data) # this works fine kud<-kernelUD(data, h="LSCV") # th...
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
...l, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for animal movement analysis I will still continue to maintain the "old" adehabitat, but on the long-term, adehabitat will be replaced by these four packages. Detailed justification for the development of these p...
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
...l, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for animal movement analysis I will still continue to maintain the "old" adehabitat, but on the long-term, adehabitat will be replaced by these four packages. Detailed justification for the development of these p...
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
...8.483","8.481"), Latitude=c("54.753","54.753","54.752","54.751") ) myframe # Now this is where my loop is supposed to start. In this example I want to run the following functions 3 times. (In real life more often.) How do I do that? library(adehabitatHR) library(rgdal) mysample <- myframe[sample(1:nrow(myframe), 3,replace=FALSE),] mysample mysampletime <- as.POSIXct (strptime(as.character(mysample$Timestamp), "%d.%m.%Y %H:%M"), tz="GMT") mysamplexy <- project (cbind (mysample$Longitude, mysample$Latitude), "+pro...
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
...day I installed the newest R develepment branch R version 2.14.0 Under development (unstable) (2011-03-18 r54866) on FreeBSD 9.0-CURRENT (amd64). All seems fine so far. After that I updated my R packages with option 'checkBuilt=TRUE'. There are four packages (spatstat, pscl, adehabitatLT, adehabitatHR) which gives an error like this: Error in dyn.load(file, DLLpath = DLLpath, ...) : kann shared object '/usr/local/lib/R/library/spatstat/libs/spatstat.so' nicht laden: /usr/local/lib/R/library/spatstat/libs/spatstat.so: Undefined symbol "Rf_pythag" Fehler: loading failed...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
...2012 10:00 8.481 54.751 #> 5 Ernie 26.09.2012 10:00 8.483 54.752 #> 6 Ernie 27.09.2012 10:00 8.481 54.751 # Now this is where my loop is supposed to start. In this example I want #to run the following functions 3 times. (In real life more often.) How #do I do that? library(adehabitatHR) #> Loading required package: sp #> Loading required package: deldir #> deldir 0.1-14 #> Loading required package: ade4 #> Loading required package: adehabitatMA #> Loading required package: adehabitatLT #> Loading required package: CircStats #> Loading required package: MAS...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
...tude=c("54.753","54.753","54.752","54.751") > ) > myframe > > # Now this is where my loop is supposed to start. In this example I want > to run the following functions 3 times. (In real life more often.) How do I > do that? > > library(adehabitatHR) > library(rgdal) > you should use require instead of library if this is a script, require returns boolean, whereas library raises an exception. mysample <- myframe[sample(1:nrow(myframe), 3,replace=FALSE),] > mysample > mysampletime <- as.POSIXct (strptime(as.character(mysample...
2012 Feb 23
1
using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame
Hello I wonder if anybody can help, I am using the package adehabitatHR to estimate the potential distribution of a species using the command "domain" In the example given in the AdehabitatHS manual a map containing elevation information is loaded (class= spatial pixels data frame) as well as the GPS points of the animals being tracked, these are then plotte...
2012 Dec 07
0
apply a function at: dateX, dateX+1, dateX+2, ....
...hy helped me a lot with my first loop last week. Thanks again - I could have made more than 10 "Thank-You cakes" in the time it saved me! But now I want to complicate the thing. My ideas didn't work. Let's see if anyone is smarter ;-) The following packages are needed: library(adehabitatHR) library(rgdal) library(plyr) # My dataframe looks somewhat like this: myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00", "25.09.2012 09:00", "25.09.2012 10:00",...
2013 Nov 05
1
Help on error (Error: could not find function "kernelUD")
Hello, I am working through examples of generating Home Range using the adehabitatHR package. Everything is going fine until I load the code for the kernelUD function, it looks like this; > data(puechabonsp) > kud <- kernelUD(puechabonsp$relocs[,1], h="href") > kud I then get an error of; Error: could not find function "kernelUD" Any thoughts...
2012 Nov 27
5
loop with date
Hello, I tried to construct my very first loop today and completly failed :-( Maybe someone can help me? I have a dataframe somewhat like this one: myframe <- data.frame (Timestamp=c("24.09.2012 09:00", "24.09.2012 10:00", "24.09.2012 11:00", "25.09.2012 09:00", "25.09.2012 10:00", "25.09.2012
2012 Apr 15
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * disclapmix (0.1) Maintainer: Mikkel Meyer Andersen Author(s): Mikkel Meyer Andersen and Poul Svante Eriksen License: GPL-2 http://crantastic.org/packages/disclapmix disclapmix makes inference in a mixture of Discrete Laplace distributions using the EM algorithm. * EstSimPDMP (1.1) Maintainer: Unknown Author(s):