On this day 27/01/2006 11:51, Berwin A Turlach wrote: >> library(MASS) >> as.fractions(c(0, 0.0133333333333333, 0.04, > 0.0666666666666667, 0.0933333333333333, 0.106666666666667, > 0.133333333333333, 0.146666666666667, 0.16, > 0.186666666666667, 0.2, 0.226666666666667, > 0.253333333333333, 0.266666666666667, 0.293333333333333, > 0.32, 0.333333333333333, 0.346666666666667, > 0.373333333333333)) > > [1] 0 1/75 1/25 1/15 7/75 8/75 2/15 11/75 4/25 14/75 1/5 17/75 > [13] 19/75 4/15 22/75 8/25 1/3 26/75 28/75 >
On this day 27/01/2006 11:53, Prof Brian Ripley wrote: > library(MASS) > ?fractions > > help.search("fractions") gets you there. > Many Thanks to Berwin A Turlach and Prof Brian Ripley for your suggestions. > ?fractions > Best regards, Muhammad Subianto ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html