In the following example: x <- rnorm(1:100) y <- seq(from=-2.5, to=3.5, by=0.5) z <- as.matrix(table(cut(x,c(-Inf, y, +Inf))))
## I wish to transform the values in z j <- log(z) ## Yet retain the row names row.names(j)<-row.names(z) Now, how can I go about creating a scatterplot with row.names(j) on the x-axis and j(m:nrow(j)) on the y-axis? Keep in mind the transformation I am conducting is more complicated and therefore cannot be plotted directly using log(z), which places me in this unique position. Tyler -- View this message in context: http://www.nabble.com/plot-rownames-tp17504882p17504882.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.