[R] read.pnm question

2013-03-21 Thread Erin Hodgess
Dear R People: I am trying to replicate a cool example that I saw on the R-bloggers some time ago by kafka399. Here are the lines tI think may be causing the trouble: gray_file - read.pnm(path) pos[i,] - c(gray_file@grey) The warning error that I get is In rep(cellres, length=2): x is NULL

[R] contourplot

2013-03-21 Thread Steven LeBlanc
Greets, I'm using a data frame that looks like: head(pr2) X1 X2 X3 X4Y fit res 1 44 33.2 5 30 41.2 39.22201 1.977991 2 43 33.8 4 41 31.7 38.48476 -6.784761 3 48 40.6 3 38 39.4 44.78278 -5.382783 4 52 39.2 7 48 57.5 51.48134 6.018656 5 71 45.5 11 53 74.8 68.25585

[R] spatstat error

2013-03-21 Thread papao
Good day Im working with some coordinates, and want to create a PPP object, I found that error: Datos=read.table(puntos_texto.txt,dec=.,sep=\t,header=T) summary(Datos) id y x Min. : 1.0 Min. :1013581 Min. :1177842 1st

[R] Sen's slope - fume package different output than zyp or wq

2013-03-21 Thread Abby Frazier
Hello, I am trying to decide which package to use to calculate the non-parametric Sen's Slope for identifying trends in rainfall data (determine the slope between all pairs of points and take the median of those slopes). I have found three packages that output Sen's: zyp, wq and fume. The

Re: [R] contourplot

2013-03-21 Thread Pascal Oettli
Hi, What is the result of: contourplot(Y~X1+X2,data=pr2) HTH, Pascal Le 13/03/22 8:57, Steven LeBlanc a écrit : Greets, I'm using a data frame that looks like: head(pr2) X1 X2 X3 X4Y fit res 1 44 33.2 5 30 41.2 39.22201 1.977991 2 43 33.8 4 41 31.7 38.48476

<    1   2