[R] plot rownames
T.D.Rudolph
prairie.picker at gmail.com
Wed May 28 06:05:44 CEST 2008
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.
More information about the R-help
mailing list