Quantcast

Issue with Biased Random Bridges (BRB.D)

classic Classic list List threaded Threaded
1 message Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Issue with Biased Random Bridges (BRB.D)

moses selebatso
Hello colleagues
I am intending to develop Utilisation distributions for use in habitat selection analysis. However I seem to be missing something to have my location data overlay the habitat map extracted within home ranges. I suspect this is to do with projections, but I cant find the problem. I get the message below
Error in BRB.D(buff, Tmax = 60, Lmin = 10, habitat = spixmap) :
  relocations at the west of the western border of habitat map
My script is as follows
d<-read.csv(file="clipboard",header=T,sep="\t")a<-as.POSIXct(strptime(as.character(d$Date_Time), "%d/%m/%Y %H:%M",tz="Africa/Gaborone"))buff<-as.ltraj(xy=d[,c("X","Y")],date=da,id=d$ID)buffmap<-raster("C:/Users/Moses_Selebatso/Documents/CKGR_Research/PhD_data_Analysis/For_R_upload/gggggg7.asc")
spixmap<-as(buffmap,'SpatialPixelsDataFrame')plot(buff,spixdf=spixmap)
plot(spixmap)
vv<-BRB.D(buff,Tmax=60,Lmin=10,habitat=spixmap)
Regards,
Moses SELEBATSO Home:    (+267) 318 5219 (H)  Mobile:  (+267) 716 39370  or  (+267) 738 39370"Finally brothers, whatever is true, whatever is honourable, whatever is just, whatever is pure, whatever is kindly spoken, whatever is lofty and whatever is praise-worthy - put your mind on these"
        [[alternative HTML version deleted]]

_______________________________________________
R-sig-ecology mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
Loading...