[問題] 關於R裡面的一個函數zapsmall的用途??

看板Statistics作者 (海葵)時間18年前 (2007/10/14 13:17), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
在看help中一個example裡面的程式碼裡面寫到zapsmall這個函數 看了help之後還是不懂它到底要怎麼用...似乎是跟round有關= =" 這是在help中對zapsmall的敘述: zapsmall determines a digits argument dr for calling round(x, digits = dr) such that values “close to zero” (compared with the maximal absolute value) are “zapped”, i.e., treated as 0. 這邊就有點看不懂了@_@ 我試著使用代一些數進去使用,看看能不能找出邏輯,不過還是看不太出來>"< 哪位大哥幫忙解釋一下好嗎^.^感謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.224.241.56
文章代碼(AID): #174QPXQz (Statistics)