Crandore Hub

fracture

Convert Decimals to Fractions

Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.

Versions across snapshots

VersionRepositoryFileSize
0.2.2 rolling source/ R- fracture_0.2.2.tar.gz 88.8 KiB
0.2.2 rolling linux/jammy R-4.5 fracture_0.2.2.tar.gz 116.0 KiB
0.2.2 latest source/ R- fracture_0.2.2.tar.gz 88.8 KiB
0.2.2 latest linux/jammy R-4.5 fracture_0.2.2.tar.gz 116.0 KiB
0.2.2 2026-04-23 source/ R- fracture_0.2.2.tar.gz 88.8 KiB
0.2.2 2026-04-09 windows/windows R-4.5 fracture_0.2.2.zip 438.2 KiB
0.2.1 2025-04-20 source/ R- fracture_0.2.1.tar.gz 89.6 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests