[R-sig-Geo] problems with plotting STFDF

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Sat Dec 28 10:02:54 CET 2013


On Sat, Dec 28, 2013 at 2:57 AM, Hodgess, Erin <HodgessE at uhd.edu> wrote:
> Hello everyone!
>
> Hope you're enjoying some holiday time!
>
> I'm running into a little snag here.  I'm working through the example on krigeST, which produces an STFDF object.  Fine so far.
>
> However, I would like to produce a Google Earth object from that.
>
> When I use plotKML, I get:
>
>> plotKML(DE_kriged,"var1.pred")
> Error in (function (classes, fdef, mtable)  :
>   unable to find an inherited method  for function ‘plotKML’ for signature ‘"STFDF"’
>>
>
> Or when I use kml, I get:
>
>> kml(DE_kriged,"var1.pred")
> Error in (function (classes, fdef, mtable)  :
>   unable to find an inherited method for function ‘kml’ for signature ‘"STFDF"’
>>
>
> What should I be doing, please?

 The functions are essentially saying "I don't know what to do with an
STFDF object". Is there any documentation that says these functions
can do something sensible with STFDF data? Maybe the code is yet to be
written...

Barry



More information about the R-sig-Geo mailing list