Learn R Programming

farsi (version 1.0)

as.numeric.farsi: Convert an persian object back to class numeric

Description

This a convenience function that simply removes the S3 class attribute from and object of class farsi.

Usage

"as.numeric"(x, ...)

Arguments

x
An object of class farsi.
...
Currently unused.

Value

An object of class numeric.

See Also

farsi, as.farsi.

Examples

Run this code
(x <- farsi(1:10))
as.numeric(x)

Run the code above in your browser using DataLab