Learn R Programming

fractional (version 0.1.3)

Math.fractional: Method for the group generic function for the elementary mathematical functions

Description

Allows graceful operations with mathematical functions.

Usage

"Math"(x, ...)

Arguments

x
A numerical object flagged as fractional
...
Passed on to further methods (but usually not required)

Value

A numeric object with the results of the computations, but NOT flagged as of class "fractional".

Examples

Run this code
(M <- fractional(solve(cbind(1, contr.helmert(5)))))
(M0 <- abs(M)*sign(M))  ## fractional flag lost

Run the code above in your browser using DataLab