Learn R Programming

tolBasis (version 1.0)

as.Ratio: Ratio Conversion Functions

Description

Function to convert between different objects to class "Ratio" representing lag polynomials quotient as in TOL language.

Usage

as.Ratio(x, ...)

Arguments

x
object to be coerced
...
further arguments passed to or from other methods

Value

Returns an object of class "Ratio".

Examples

Run this code
# Creates lag polynomial quotient: (1+B^2) / (1)
p <- as.Ratio(1+B^2) 

Run the code above in your browser using DataLab