No subject

Troels Ring tring at mail1.stofanet.dk
Sat Nov 20 12:03:14 CET 1999


Dear friends.

I wanted to reproduce a sheet of paper useful for plotting the reciprocal of some biochemical variable (creatinine) over time (Bleyer Am J Kidney Dis 34:576-578,1999). Time on X axis with units years and months. On Y axis, 1/creatinine, but with the original creatinine value indicated - to make it easier for people to use it. When using the graph, the linear decrease in 1/crea over time will be useful for managing patients. Here is what I came up with, but how do I configure the Y axis with the natural values 40-2000 umol/l alongside their reciprocal representation, so that 1/crea will be a stright line ?

 x <- NA
 y  <- NA
 plot(x,y,xlim=c(0,10),ylim=c(40,2000))
 grid(nx=10,ny=10,col="black",lty="solid")
 grid(nx=120,ny=10,col="black",lty="dotted")

Troels Ring, M.D
Department of Nephrology
Aalborg, Denmark
tring at mail1.stofanet.dk

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list