Re: bug in geoR (?)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: bug in geoR (?)

Paulo Justiniano Ribeiro Jr
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" <[hidden email]>
> To: [hidden email]
> Cc: [hidden email]
> 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]]
>
> ______________________________________________
> [hidden email] 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: [hidden email]
http://www.est.ufpr.br/~paulojus
______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Loading...