[R] bug in geoR (?)

Paulo Justiniano Ribeiro Jr paulojus at est.ufpr.br
Wed Dec 14 03:23:34 CET 2005


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 at gmail.com>
> To: paulojus at est.ufpr.br
> Cc: R-help at 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 at 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 at est.ufpr.br
http://www.est.ufpr.br/~paulojus


More information about the R-help mailing list