On Thu, 4 Mar 2010 11:34:49 +1300 Rolf Turner <r.tur...@auckland.ac.nz> wrote: > There are various ways to access components of a data frame: > > * plot(con$rel,con$len) > * plot(con[["rel"]],con[["len"]]) > * plot(con[,"rel"],con[,"len"]) > * with(con, plot(rel,len))
And: plot(len~rel, data=con) -- Karl Ove Hufthammer ______________________________________________ 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.