Learn R Programming

tolBasis (version 1.0)

Rnumerator: Ratio Numerator

Description

Numerator of a Ratio object

Usage

Rnumerator(r)

Arguments

r
a Ratio object

Value

Returns the Polyn object corresponding to the numerator of the Ratio.

See Also

See also the function Rdenominator

Examples

Run this code
# Obtain the numerator of a Ratio object
ratio <- Ratio(1, 1+B) + Ratio(1, 1-B)
Rnumerator(ratio)

Run the code above in your browser using DataLab