Skip to content
Prev 25018 / 29559 Next

Error with gstat::predict [SEC=UNCLASSIFIED]

Many thanks, Edzer and Roger! Great help!
Kind regards,
Jin

-----Original Message-----
From: R-sig-Geo [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Edzer Pebesma
Sent: Monday, 31 October 2016 8:46 PM
To: Roger.Bivand at nhh.no
Cc: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] Error with gstat::predict [SEC=UNCLASSIFIED]
On 31/10/16 09:12, Roger Bivand wrote:
Indeed: your package should load (import):

1. predict from package stats, if it wants to use predict 2. package gstat if it wants to use the predict method for gstat objects.
3. use stats::predict rather than gstat::predict if you'd insist on prepending package:: to a generic
--
Edzer Pebesma
Institute for Geoinformatics  (ifgi),  University of M?nster Heisenbergstra?e 2, 48149 M?nster, Germany; +49 251 83 33081
Journal of Statistical Software:   http://www.jstatsoft.org/
Computers & Geosciences:   http://elsevier.com/locate/cageo/


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------