unfractional: Demote a fractional object back to a numeric one

Description Usage Arguments Value Examples

View source: R/fractionl.R

Description

Given an object of class "fractional" this simple function removes the attributes that signal that it is to be treated as a fractional object, thus returning it to its original numeric status alone

Usage

1

Arguments

x

A "fractional" object

Value

A simple numeric object like x

Examples

1
2
(tst <- fractional(matrix(0:9/10, 2, 5)))
(tst <- unfractional(tst))

fractional documentation built on May 2, 2019, 4:16 a.m.