Re: [R] simple graphing question

2008-04-08 Thread benlafleche
This is maybe not the most elegant way, but it does de job. You first put f$RM values in negative form. Then you plot your graph without the x axis labels. After, you create the labels you want. Try this : f <- (structure(list(TKN = c(0.103011025, 0.018633208, 0.104235702, 0.074537363, 0.1382

[R] as.character ()

2008-03-31 Thread benlafleche
Hello, I'm trying to tranform a numeric vector into a character vector. > x=c(2.00,1.20,5.00,6.56) > y= as.character(x) > y [1] "2""1.2" "5""6.56" What I want is : [1] "2.00""1.20" "5.00""6.56" Does someone know how to do this please ? Benoit Bruneau __