将数字的大写形式转换为R中的整型

在我的数据集中,我有变量,其中的数字是以大写格式编写的。例如:

18 123 thousand dollars
19123 millon dollars

如何使用R将此格式转换为整数类型?我是说,我需要这种格式。

18 123 000
19 123 000 000 

转载请注明出处:http://www.sthongjia.com/article/20230526/2592323.html