[英]stem and leaf plot in R wrong '|' position
這不是整數與雙精度的問題。 問題是值的范圍太小,無法用第二個數字創建足夠大的莖葉圖。
您可以簡單地更改容差以獲得您想要的結果,只需為atom
傳遞一個值:
stem(x1,atom=10)
輸出是:
The decimal point is 1 digit(s) to the right of the |
8 | 0000111122222333444
8 | 555666666777778888999999999
9 | 000111122223333444444
9 | 55556666666677777788888999999
10 | 0000
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.