as.character.rationalfun: Convert object to character

View source: R/rf_base.R

as.character.rationalfunR Documentation

Convert object to character

Description

This function converts an object of class "rationalfun" to a character string.

Usage

## S3 method for class 'rationalfun'
as.character(x, ...)

Arguments

x

an object of class "rationalfun"

...

not used in this function

Value

A character string representing the rational function.

See Also

as.character.polynomial

Examples

r <- rationalfun(c(1, 1), c(3, 2, 1))
as.character(r)

yixuan/rationalfun documentation built on March 17, 2022, 8:45 p.m.