LoginSignup
14
17

More than 5 years have passed since last update.

R:大きな数値で指数表示になるのをさける。

Posted at

scipenオプションを使って、指数表示になる桁数を調整できます。
初期値は0。大きな値にするほど指数表示になりにくくなる。
適当に100とか設定しておけばいいかと。

> 100000
[1] 1e+05
> options(scipen=100)
> 100000
[1] 100000
14
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
17