Skip to content

geoR: specification of trend.d and trend.l in krige.control()

2 messages · Andre Schützenmeister, Paulo Justiniano Ribeiro Jr

#
Andre

Let's see if I can get this.
Some of the caracters I canot read (probably due to the encoding used
in your email)
On Wed, 12 Mar 2008, Andre Sch?tzenmeister wrote:

            
OK. argment "trend" is used in functionhs such as variogram() and
likfit().
When it goes to krige.conv() you nned to separate trend.d for data
locations and trend.l for predictions locations.
If options are for "1st" or "2nd" the coordinates are used as trends and
them both are internally set to the same.
is this cross-validation " leaving one out" . xvalid() may be usefull.
.?, trend.l =
.? )
I cannot read the options here, but hope above clarifys this otherwise leg
me know.
geoR page have some tutoruials with extra examples on this topic.
are you using the tilde caracter? e.g something like  trend.d = ~datatrend
aparently the objects being passed does not exists...or cannot be found
if Row and Columns are your data coordinates consider using trend.d="1st"
and so on
see dosc but basicaly you need the values at each prediction locations
passed as matrices or data-frames (not vectors)

hope this helps otherwise you may consider contact me offlist and maybe
sending reproducible code

best
P.J.
Paulo Justiniano Ribeiro Jr
LEG (Laboratorio de Estatistica e Geoinformacao)
Universidade Federal do Parana
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR  -  Brasil
Tel: (+55) 41 3361 3573
Fax: (+55) 41 3361 3141
e-mail: paulojus AT  ufpr  br
http://www.leg.ufpr.br/~paulojus

-------------------------------------------------------------------------
53a Reuniao Anual da Regiao Brasileira da Soc. Internacional de Biometria
14 a 16/05/2008, UFLA, Lavras,MG
http://www.rbras.org.br/rbras53