default_cnum_lang: Default Language for 'cnum'

Description Usage Details Value See Also Examples

View source: R/default-lang.R

Description

Function to check the default language for cnum functions.

Usage

1

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").

Value

The default language for cnum functions.

See Also

Examples

1
2
3
4
# Set the default language to Simplified Chinese
options(cnum.lang = "sc")

default_cnum_lang()

cnum documentation built on Jan. 13, 2021, 7:53 p.m.