I have read the contour help. I guess what I am asking is how to transform my data into a form that contour (or maybe some other functions?) so I can contour my x,y,z data. I know I can do it in SyStat. I'm hoping that R would allow me to do something like this.
Bob On Thu, Jun 26, 2008 at 11:24 AM, Bert Gunter <[EMAIL PROTECTED]> wrote: > Please **READ** ?contour. x and y are the location of grid lines, z must be > a matrix. Your data are **not** of that form. > > Bert Gunter > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On > Behalf Of Bob and Deb > Sent: Thursday, June 26, 2008 11:01 AM > To: r-help@r-project.org > Subject: [R] using contour() with x,y,z data? > > 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@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. > > [[alternative HTML version deleted]] ______________________________________________ R-help@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.