[Gstat-info] I: Cross Validation
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Sun May 24 22:32:47 CEST 2009
Try to use unnamed arguments (remove the model= and data=), and remove
the database$
--
Edzer
giuseppeform at libero.it wrote:
> I'am trying to do cross validation in this way:
>
>
>> krige.crossv <-krige.cv
>>
> (database$Cd~1,model=model5.out,data=database)
> where database$Cd are the value
> of mesurement Cd concentrations
> model is my semivariogram
>
> database is the dataframe
>
> and the new error is:
>
>
>>> source("or.
>>>
> R")
>
>> Warning: singular model in variogram fit
>> [using ordinary kriging]
>>
>>
>
>
>> Errore in function (classes, fdef, mtable) :
>> unable to find an inherited
>>
>
>
>> method for function "krige.cv", for signature "formula", "missing"
>>
>
>
> can you
> help me?
> _______________________________________________
> Gstat-info mailing list
> Gstat-info at geo.uu.nl
> http://mailman.geo.uu.nl/mailman/listinfo/gstat-info
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/
http://www.springer.com/978-0-387-78170-9 e.pebesma at wwu.de
More information about the Gstat-info
mailing list