Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的旧 TI-83 上,我可以使用以下语法获得有理实数的简化分数表示。
.14>Frac 7/50
是否有类似的语法、函数或 CRAN 包允许我在 R 中执行此操作?
MASS 包中的 fractions() 就是这样做的:
> library(MASS) > fractions(.14) [1] 7/50