Hi @ all and thanks a lot for your advises. So far I don't know the function dput. Now I read something about it and I have the following result:
> TEST year value state 1 2007 15 FL 2 2008 16 FL 3 2008 14 TX 4 2008 13 TN 5 2009 18 FL 6 2009 15 OH 7 2010 19 TX 8 2010 12 OH > dput(TEST) structure(list(year = c(2007L, 2008L, 2008L, 2008L, 2009L, 2009L, 2010L, 2010L), value = c(15L, 16L, 14L, 13L, 18L, 15L, 19L, 12L ), state = structure(c(1L, 1L, 4L, 3L, 1L, 2L, 4L, 2L), .Label = c("FL", "OH", "TN", "TX"), class = "factor")), .Names = c("year", "value", "state"), class = "data.frame", row.names = c(NA, -8L)) > class(TEST) [1] "data.frame" I hope this will help you. Thank and greetings Geo -- View this message in context: http://r.789695.n4.nabble.com/plot-dataframe-with-inconsistently-relations-tp4642766p4642883.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.