Re: [R] bug in geoR (?)

From: Paulo Justiniano Ribeiro Jr <paulojus_at_est.ufpr.br>
Date: Wed 14 Dec 2005 - 13:23:34 EST

Dear Fabio

PLease download the latest geoR from:

www.est.ufpr.br/geoR

and let me know in case the problem persists

P.J.

On Tue, 13 Dec 2005, Antonio, Fabio Di Narzo wrote:

> Date: Tue, 13 Dec 2005 17:18:14 +0100
> From: "Antonio, Fabio Di Narzo" <antonio.fabio@gmail.com>
> To: paulojus@est.ufpr.br
> Cc: R-help@stat.math.ethz.ch
> Subject: [R] bug in geoR (?)
>
> I've enconuntered this problem with the last cran version of geoR:
>
>> library(geoR)
>> day <- rep(1:2, each=5)
>> coords <- matrix(rep(runif(10),2), 10, 2)
>> data <- rnorm(10)
>> data[1] <- NA
>> as.geodata(cbind(coords, data, day), realisations=4)
> as.geodata: 1 points removed due to NA in the data
> Errore in as.geodata(cbind(coords, data, day), realisations = 4) :
> realisations and coords have incompatible dimensions
>
> The problem disappear if I remove the NA manually from the dataset before
> passing to as.geodata. I.e.:
>> as.geodata(cbind(coords, data, day)[2:10,], realisations=4)
> works.
>
> Antonio, Fabio Di Narzo.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>

Paulo Justiniano Ribeiro Jr
LEG (Laboratório de Estatística e Geoinformação) Departamento de Estatística
Universidade Federal do Paraná
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR - Brasil
Tel: (+55) 41 3361 3573
Fax: (+55) 41 3361 3141
e-mail: paulojus@est.ufpr.br
http://www.est.ufpr.br/~paulojus



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 14 13:31:12 2005

This archive was generated by hypermail 2.1.8 : Wed 14 Dec 2005 - 14:38:55 EST