From hreinec at gwdg.de Wed Feb 1 15:05:29 2017 From: hreinec at gwdg.de (Horst Reinecke) Date: Wed, 1 Feb 2017 15:05:29 +0100 Subject: [tlocoh-info] Function lxy.gridanv.add Message-ID: <5891EB29.9090306@gwdg.de> Hi all, I?m working with with 3.3.2 and tlocoh 1.40 and 14.04.1-Ubuntu. Trying to add an ancillary variable to a lxy-object I get following error: Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ?overlay? for signature ?"SpatialGridDataFrame", "SpatialPointsDataFrame"? My command: test_anc <- lxy.gridanv.add(c15792_1.lxy[[2]], band = 1, fn = 'tiffs/class_seg.tif', anv.name = 'use_class') c15792_1.lxy[[2]] is of class locohlxy and 'tiffs/class_seg.tif' is a geotiff readable by rGDAL. Are there any suggestions? Best, Horst -- Horst Reinecke B?sgen-Institut Abteilung Wildtierwissenschaften Georg-August-Universit?t G?ttingen B?sgenweg 3 37077 G?ttingen B?sgen-Institute Department of Wildlife Sciences +49 (0)551-3933629 +49 (0)551-3933628 Fax +49 (0)178-2307897 Mobil From wgetz at berkeley.edu Wed Feb 1 15:20:24 2017 From: wgetz at berkeley.edu (Wayne Marcus GETZ) Date: Wed, 1 Feb 2017 06:20:24 -0800 Subject: [tlocoh-info] Function lxy.gridanv.add In-Reply-To: <5891EB29.9090306@gwdg.de> References: <5891EB29.9090306@gwdg.de> Message-ID: Any ideas? Sent from my iPhone > On Feb 1, 2017, at 6:05 AM, Horst Reinecke wrote: > > Hi all, > > I?m working with with 3.3.2 and tlocoh 1.40 and 14.04.1-Ubuntu. Trying to add an ancillary variable to a lxy-object I get following error: Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ?overlay? for signature ?"SpatialGridDataFrame", "SpatialPointsDataFrame"? > My command: test_anc <- lxy.gridanv.add(c15792_1.lxy[[2]], band = 1, fn = 'tiffs/class_seg.tif', anv.name = 'use_class') > > c15792_1.lxy[[2]] is of class locohlxy and 'tiffs/class_seg.tif' is a geotiff readable by rGDAL. > Are there any suggestions? > > Best, > Horst > > -- > Horst Reinecke > B?sgen-Institut > Abteilung Wildtierwissenschaften > Georg-August-Universit?t G?ttingen > B?sgenweg 3 > 37077 G?ttingen > > B?sgen-Institute > Department of Wildlife Sciences > +49 (0)551-3933629 > +49 (0)551-3933628 Fax > +49 (0)178-2307897 Mobil > > _______________________________________________ > Tlocoh-info mailing list > Tlocoh-info at lists.r-forge.r-project.org > http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tlocoh-info From lyons.andy at gmail.com Sat Feb 11 05:42:32 2017 From: lyons.andy at gmail.com (Andy Lyons) Date: Fri, 10 Feb 2017 20:42:32 -0800 Subject: [tlocoh-info] Function lxy.gridanv.add In-Reply-To: <5891EB29.9090306@gwdg.de> References: <5891EB29.9090306@gwdg.de> Message-ID: <5446f823-d5cf-6a78-4642-2f302ce39006@gmail.com> Hi Horst, Thanks again for bringing this error message to our attention and working with me to recreate and diagnose the problem. For the benefit of everyone else, we tracked the bug down to a function name change in the sp package, which has now been updated in the current version of tlocoh. To update your package, you can run: update.packages(oldPkgs="tlocoh", repos="http://R-Forge.R-project.org") Cheers, Andy On 2/1/2017 6:05 AM, Horst Reinecke wrote: > Hi all, > > I?m working with with 3.3.2 and tlocoh 1.40 and 14.04.1-Ubuntu. Trying > to add an ancillary variable to a lxy-object I get following error: > Error in (function (classes, fdef, mtable) : > unable to find an inherited method for function ?overlay? for > signature ?"SpatialGridDataFrame", "SpatialPointsDataFrame"? > My command: test_anc <- lxy.gridanv.add(c15792_1.lxy[[2]], band = 1, > fn = 'tiffs/class_seg.tif', anv.name = 'use_class') > > c15792_1.lxy[[2]] is of class locohlxy and 'tiffs/class_seg.tif' is a > geotiff readable by rGDAL. > Are there any suggestions? > > Best, > Horst > -- *T-LoCoH*: A hull-based method for home range construction and spatiotemporal analysis of movement data. Lyons, A., Turner, W.C., and WM Getz. 2013. Home Range Plus: A Space-Time Characterization of Movement Over Real Landscapes. BMC Movement Ecology 1:2 . http://tlocoh.r-forge.r-project.org -------------- next part -------------- An HTML attachment was scrubbed... URL: