fra.m | R Documentation |
to turn vector, data.frame, matrix into fraction form
fra.m(x)
x |
Vector, matrix or data.frame which contains numeric number |
Return a charerter which shows the fraction equals x, x is a data.frame or matrix or vector
OuYang Ming
Friedrich Leisch, 2008 Creating R packages: A Tutorial Zhang Jinlong, How to create R package under Windows
y=c(1/2,1/3,1/9)
fra.m(y)
z=data.frame(1/2)
fra.m(z)
q=matrix(1)
fra.m(q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.