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