[R-sig-Geo] placing spdf back into adehabiatHR estUDm

Anthony Fischbach afischbach at usgs.gov
Thu Sep 8 23:24:43 CEST 2011


The failure with the line in my posted script is due to the lack of names in
the estUDm object.
It runs if you first run *names* function then the *getverticeshr* function
-- highlighting the bug in the BRB function and in my posted script.

> names(ud) <- id(ltraj)
> ver <- getverticeshr(ud, percent=95,  standardize = TRUE, whi = id(ltraj))


Edzer Pebesma-2 wrote:
> 
> Anthony, your script fails for me at the following point:
> 
>> ver <- getverticeshr(ud, percent=95,  standardize = TRUE, whi =
>> id(ltraj))
> Error in getverticeshr.default(x[[i]], percent, ida = names(x)[i], unin, 
> :
>   no method provided for this class
> 


-----
Tony Fischbach, Wildlife Biologist
Walrus Research Program
Alaska Science Center
U.S. Geological Survey
4210 University Drive
Anchorage, AK 99508-4650

AFischbach at usgs.gov
http://alaska.usgs.gov/science/biology/walrus
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Walruses-and-adehabitatHR-class-estUDm-exclusion-of-non-habitat-pixels-and-summary-over-all-animals-tp6497315p6773846.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list