例如 999999999999999 會顯示 1e+15。
想要不要讓它以科學記號呈現,
加入options(scipen=999),
就都不會以科學記號方式呈現了。
以下為範例:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x <- 999999999999999 | |
x | |
##1e+15 | |
options(scipen = 999) | |
x | |
##999999999999999 |
沒有留言:
張貼留言