fra {FRACTION}R Documentation

FRACTION for number

Description

to turn numeric number into fraction form

Usage

fra(x, j = 7)

Arguments

x

a numeric number

j

Decimal digits default is 7

Value

Return a charerter which shows the fraction equals x, x is a number

Author(s)

OuYang Ming

References

Friedrich Leisch, 2008 Creating R packages: A Tutorial Zhang Jinlong, How to create R package under Windows

Examples

x=1/3
fra(x)

[Package FRACTION version 1.1.1 Index]