11
A
回答
8
一般來說,我發現內置的幫助非常好。你是對的,但boxplot
的幫助頁面提到na.action
沒有說明選項是什麼。
在這種情況下,?na.action
和 - 從那裏繼 - (這些是相當普遍的,也適用於其他的東西比boxplot
)?na.omit
解釋的可能性
Handle Missing Values in Objects
Description:
These generic functions are useful for dealing with ‘NA’s in e.g.,
data frames. ‘na.fail’ returns the object if it does not contain
any missing values, and signals an error otherwise. ‘na.omit’
returns the object with incomplete cases removed. ‘na.pass’
returns the object unchanged.
Usage:
na.fail(object, ...)
na.omit(object, ...)
na.exclude(object, ...)
na.pass(object, ...)
Arguments:
object: an R object, typically a data frame
...: further arguments special methods could require.
Details:
At present these will handle vectors, matrices and data frames
comprising vectors and matrices (only).
If ‘na.omit’ removes cases, the row numbers of the cases form the
‘"na.action"’ attribute of the result, of class ‘"omit"’.
‘na.exclude’ differs from ‘na.omit’ only in the class of the
‘"na.action"’ attribute of the result, which is ‘"exclude"’. This
gives different behaviour in functions making use of ‘naresid’ and
‘napredict’: when ‘na.exclude’ is used the residuals and
predictions are padded to the correct length by inserting ‘NA’s
for cases omitted by ‘na.exclude’.
相關問題
- 1. qgit中有哪些選項?
- 2. Java P2P - 有哪些選項?
- 3. queryExecute函數中queryOptions有哪些選項?
- 4. VisualSVNServerHooks.exe有哪些可用的選項?
- 5. iPhone上的XML有哪些選項?
- 6. PHP有哪些模板引擎選項?
- 7. localStorage大小限制...有哪些選項?
- 8. 數據庫抽象 - 有哪些選項?
- 9. ASP.NET:我有哪些部署選項?
- 10. IE7有哪些window.postMessage仿真選項?
- 11. jQuery動畫效果有哪些選項?
- 12. Go有哪些網絡編程選項?
- 13. 哪些JVM選項優先?
- 14. WPF中的文檔佈局有哪些選項?
- 15. 在託管WCF的Windows服務中有哪些緩存選項?
- 16. 在WP7中編輯日期的選項有哪些?
- 17. ColdFusion中的白名單HTML有哪些選項?
- 18. 通過UDP在C#中使用C++類,有哪些選項?
- 19. View引擎在Java中有哪些選項?
- 20. 在SonarQube v6.3.1中生成報告有哪些選項
- 21. extjs 3 - 檢查哪些選項卡是隱藏的,哪些不在tabpanel中
- 22. jQuery的檢查哪些選項被選中
- 23. .NET:在我的項目.setting文件中解密密碼有哪些選項
- 24. R boxplot與哪個功能
- 25. mediaelement播放器的「預加載」設置有哪些選項?
- 26. 主持Thrift服務的選項有哪些?
- 27. 提供Flash視頻的選項有哪些?
- 28. Doctrine的addColumn()遷移方法有哪些選項?
- 29. Doctrine的Doctrine_Core :: generateModelsFromDb方法有哪些可用選項?
- 30. 有哪些兩個名單的建議控件選擇項目
發佈的幫助文件全部內容是沒有答案。 'na.action'的一個問題是它很難理解。 – buhtz 2016-12-27 16:45:24