[R] How to convert decimals to fractions

2006-01-27 Thread Muhammad Subianto
Dear all, Are there any functions to convert decimals to fractions in R? I have the result: summary(as.factor(complete.ID)) 0 0.0133 0.04 2256488230 0.0667 0.0933

Re: [R] How to convert decimals to fractions

2006-01-27 Thread Berwin A Turlach
G'day Muhammad, MS == Muhammad Subianto [EMAIL PROTECTED] writes: MS Are there any functions to convert decimals to fractions in R? MS I have the result: Something like: library(MASS) as.fractions(c(0, 0.0133, 0.04, 0.0667, 0.0933,

Re: [R] How to convert decimals to fractions

2006-01-27 Thread Prof Brian Ripley
library(MASS) ?fractions help.search(fractions) gets you there. On Fri, 27 Jan 2006, Muhammad Subianto wrote: Dear all, Are there any functions to convert decimals to fractions in R? I have the result: summary(as.factor(complete.ID)) 0 0.0133

Re: [R] How to convert decimals to fractions

2006-01-27 Thread Dimitris Rizopoulos
/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: Muhammad Subianto [EMAIL PROTECTED] To: R-help@stat.math.ethz.ch Sent: Friday, January 27, 2006 11:39 AM Subject: [R] How to convert decimals to fractions Dear all, Are there any functions to convert

Re: [R] How to convert decimals to fractions

2006-01-27 Thread Muhammad Subianto
On this day 27/01/2006 11:51, Berwin A Turlach wrote: library(MASS) as.fractions(c(0, 0.0133, 0.04, 0.0667, 0.0933, 0.107, 0.133, 0.147, 0.16, 0.187,0.2,

Re: [R] How to convert decimals to fractions

2006-01-27 Thread Muhammad Subianto
@stat.math.ethz.ch Sent: Friday, January 27, 2006 11:39 AM Subject: [R] How to convert decimals to fractions Dear all, Are there any functions to convert decimals to fractions in R? I have the result: summary(as.factor(complete.ID)) 0 0.0133 0.04