unfractional {fractional} | R Documentation |
Demote a fractional object back to a numeric one
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
unfractional(x)
Arguments
x |
A |
Value
A simple numeric
object like x
Examples
(tst <- fractional(matrix(0:9/10, 2, 5)))
(tst <- unfractional(tst))
[Package fractional version 0.1.3 Index]