Robert Wager
2013-Feb-06 18:36 UTC
[R] adehabitatHR - Creating Biased Random Bridge UD with a boundary
Dear List,
It'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
understand what I am supposed to do.
Thank you very much in advance,
Kind regards,
Robert
## clean the other side of the boundary
if (!is.null(boundary)) {
sor2 <- adehabitatHR:::.fbboun(sor2, boundary, sigg, max(so$h))
}
sor2 <- new("estUD", sor2)
slot(sor2, "h") <- list(values = list(hmin=hmin, D=D),
interp = so,
meth = "BRB-specified")
slot(sor2, "vol") <- FALSE
return(sor2)
[[alternative HTML version deleted]]
Apparently Analagous Threads
- adehabitatMA, LT, HR and HS version 0.1
- adehabitatMA, LT, HR and HS version 0.1
- lapply and kernelUD (adehabitatHR package): Home Range kernel estimation for a list of individuals
- My very first loop!! I failed. May I have some start-up aid?
- My very first loop!! I failed. May I have some start-up aid?
