fraction_parts {caracas}R Documentation

Get numerator and denominator of a fraction

Description

Get numerator and denominator of a fraction

Usage

fraction_parts(x)

Arguments

x

Fraction

Examples

if (has_sympy()) {
     x <- as_sym("a/b")
     frac <- fraction_parts(x)
     frac
     frac$numerator
     frac$denominator
 }


[Package caracas version 1.1.0 Index]