search for: unout

Displaying 5 results from an estimated 5 matches for "unout".

Did you mean: unopt
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
...lnames(mysamplexy) <- c ("xCord", "yCord") ID <- mysample$ID datltraj <- as.ltraj(mysamplexy, mysampletime, id=ID) Ddat <- BRB.D(datltraj, Tmax=21600, Lmin=36) BRBdat <- BRB(datltraj, D= Ddat,type=c("UD"),Tmax=21600,Lmin=36, hmin=100) kernel.area(BRBdat, unout=c("km2")) # unfortunately my data are not a very good example. Sorry about that. But I guess you know what I mean. # Because I wish to run the functions three times I do want a data frame (or matrix) in the end, which includes the results (kernel areas): That means 12 columns and the...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
..."yCord" ) datltraj <- as.ltraj( mysamplexy, mysample$mysampletime, id=mysample$ID ) Ddat <- BRB.D( datltraj, Tmax=21600, Lmin=36 ) BRBdat <- BRB( datltraj, D = Ddat, type = "UD", Tmax = 21600, Lmin = 36, hmin = 100 ) result[ , i ] <- kernel.area( BRBdat, unout = "km2" ) } #> Warning in kernel.area(BRBdat, unout = "km2"): The grid is too small to allow the estimation of home-range #> for the following value of percent: 70,75,80,85,90,95. You should rerun kernelUD with a larger extent parameter #> Warning in kernel.area(BRBdat,...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
...c ("xCord", "yCord") > ID <- mysample$ID > datltraj <- as.ltraj(mysamplexy, mysampletime, id=ID) > Ddat <- BRB.D(datltraj, Tmax=21600, Lmin=36) > BRBdat <- BRB(datltraj, D= Ddat,type=c("UD"),Tmax=21600,Lmin=36, hmin=100) > kernel.area(BRBdat, unout=c("km2")) > > # unfortunately my data are not a very good example. Sorry about that. But > I guess you know what I mean. > > # Because I wish to run the functions three times I do want a data frame > (or matrix) in the end, which includes the results (kernel areas): That...
2012 Dec 07
0
apply a function at: dateX, dateX+1, dateX+2, ....
..."Lat")] d_ltraj <- as.ltraj(dxy, d$myframestime, id = d$AnimalID) dLiker <- liker (d_ltraj, sig2 = 18, rangesig1= c(1, 100) ) dBB <- kernelbb(d_ltraj, sig1=dLiker$Ernie$sig1, sig2=18) data.frame(AnimalID = unique(d$AnimalID), day = unique(d$day), h = kernel.area(dBB, unout=c("km2"))) } ddply(myframe3, .(day), hrfun) # i.e. I calculated the size of the homerange for Animal "Ernie" at every single day. (The several numbers per day # represent the several Homerange levels). # What I want to do now is to calculate the homerange for Animal "Er...
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