[R-sig-Geo] GLS spatial model-- range error

jofre carnicer cols jofrecarnicer at yahoo.es
Thu Oct 9 16:28:48 CEST 2008


Sorry, 

I have just solved the problem. There was a typographic error in the code.

Sorry for this mistake,

Jofre


--- El jue, 9/10/08, jofre carnicer cols <jofrecarnicer at yahoo.es> escribió:

> De: jofre carnicer cols <jofrecarnicer at yahoo.es>
> Asunto: GLS spatial model-- range error
> Para: r-sig-geo at stat.math.ethz.ch
> Fecha: jueves, 9 octubre, 2008 3:06
> Hello,
> 
> I am computing a gls spatial model:
> 
> require(nlme)
> 
> gls.exp<-gls(S1 ~ X2TPall + tmngem + tmaxjlm + arbdenkm
> + prat_herm + 
>     arbclakm + conreukm, data=snouter.df,
> correlation=corExp(form~X+Y), na.action=na.omit)
> 
> and obtain the following error:
> 
> Error en Initialize.corSpatial(X[[1L]], ...) : 
>   Range must be > 0 in "corSpatial" initial
> value
> 
> I have checked CorExp, gls, and CorClasses help but
> couldn't find how to solve this error. Any help is
> welcome.
> 
> Many thanks in advance,
> 
> Jofre







More information about the R-sig-Geo mailing list