Learn R Programming

rationalfun (version 0.1-1)

as.character.rationalfun: Convert object to character

Description

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

Usage

# S3 method for 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

Run this code
# NOT RUN {
r <- rationalfun(c(1, 1), c(3, 2, 1))
as.character(r)
# }

Run the code above in your browser using DataLab