R语言:切换科学计数法和更换小数点位数

来源:互联网 发布:扑克牌喝酒游戏知乎 编辑:程序博客网 时间:2024/06/14 10:48

options(scipen = 100)

# 小数点后100位不使用科学计数法

options(digits = 3)

# 保留小数点后三位