oad
Oxford OX1 3RB
UK
Tel. 01865 275000
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 25 October 2004 18:32
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [R] sample variogram construction
>
>
> Okay thanks!
&g
Okay thanks!
No I have the following difficulty implementing a variogram in the
nlme package:
> cd1 <- lme(count ~ time, data=cd4,random= ~ time | id)
> plot(Variogram(cd1, form= ~ time | id, robust=TRUE))
Error in as.array(X) : attempt to set an attribute on NULL
Im not sure how to fix this, and
Hi Matt,
there are several R packages that will compute the sample variogram for you.
Check out GeoR, sgeostat, nlme, spatial. There's no point in recoding the
whole lot yourself, unless as a learning excercise.
D
p.s. For time series autocorrelations, you could use acf in package stats.
Messag