as.farsi and farsi are fully
equivalent generic constructor functions for the S3 class
farsi, which allows numeric objects to be represented in
the form of their customary persian expression.
as.farsi(x, ...)
farsi(x, ...)
"farsi"(x, ...)
"farsi"(x, ...)
"farsi"(x, ...)farsi.default this may be an
object of any class, but will always result in an error.
farsi, if possible, or an error message if
not.
farsi is a generic constructor function for
objects of class farsi. The methods either mark the object
as having the appropriate class, or, in the case of
farsi.default, result in an error message. The function
as.farsi is provided as a corresponding function to
as.roman in the utils package. The method
farsi.farsi simply allows the constructor function to act
as a coercion and to have no effect on objects already of the class.
as.character.farsi, print.farsi.