Learn R Programming

cnum (version 0.1.5)

default_cnum_lang: Default Language for cnum

Description

Function to check the default language for cnum functions.

Usage

default_cnum_lang()

Arguments

Value

The default language for cnum functions.

Details

This package supports Traditional Chinese and Simplified Chinese. The language can be specified with the lang parameter in every function, with "tc" for Traditional Chinese and "sc" for Simplified Chinese. The default is "tc", but this can be changed by setting options(cnum.lang = "sc").

See Also

  • Functions for conversion

  • Functions for detetction and extraction

Examples

Run this code
# \donttest{
# Set the default language to Simplified Chinese
options(cnum.lang = "sc")
# }
default_cnum_lang()

Run the code above in your browser using DataLab