Hi James, On Sat, Jul 17, 2010 at 2:50 PM, James Platt <james-pl...@hotmail.co.uk> wrote: > Hi guys, > > I am a newbie to R, so apologies in advance. > > I created this simple table in excel, saved in tab delimited .txt: > > name value_1 value_2 > 1 bill 1 4 > 2 ben 2 2 > 3 jane 3 1 > > >>test <-read.table("\path\to\file", sep="\t", header=TRUE) > >>x <-c(seq["value_1"]) >>y <-c(seq["value_2"])
You lost me here. What is seq["value_1"] supposed to do? Please fix your example. > >>plot(x,y) > > and i get this error > > Error in xy.coords(x, y, xlabel, ylabel, log) : > (list) object cannot be coerced to type 'double' > > What does this mean and how do i fix it? > > Thanks for the help, James > > ______________________________________________ > 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. > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org ______________________________________________ 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.