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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to