[R] Odp: using contour() with x,y,z data?

From: Petr PIKAL <petr.pikal_at_precheza.cz>
Date: Fri, 27 Jun 2008 11:41:45 +0200

Hi

you probably want to look to interp from arima package

Petr Pikal
petr.pikal_at_precheza.cz
724008364, 581252140, 581252257

r-help-bounces_at_r-project.org napsal dne 26.06.2008 20:00:48:

> Hello list,
>
> I'm new to R and I have a problem :-) Below is what my data file that
looks
> like. I tried to import and contour this data by doing this:
>
> cv_data <- read.table("cv_data.csv",sep=",",header=TRUE)
> attach(cv_data)
> contour(x,y,z)
>
> I get the error "Error in contour.default(x,y,z) : increasing 'x', and
'y'
> values expected" I can see that y is not increasing, but I don't know
how
> to get this to work.
>
> Thanks in advance for any help.
>
> Bob
> =========================================================
> x, y, z
> 10, 0.1, 3
> 10, 0.2, 7
> [snip]
> 10,1.0,5
> 20,0.1,12
> 20,0.2,4
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 27 Jun 2008 - 10:15:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 Jun 2008 - 10:31:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive