################################################### 问题:缺失值 18.5.2 有关处理缺失值的各种方法有什么?各自的适用场景. 解决方案: na.fail(向量a) : 有 NA 则返回错误,无 NA 则返回原向量 a na.omit(向量a) : 返回删除 NA 后的向量 a attr(na.omit(a),"na.action") : 返回 NA 的下标.. 讨论扩展: is.na(leadership[,6:10]) #
1. df -hT命令 -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) -T, --print-type print file system type [root@rhel7 ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/rhel-root xfs 18G .5G 13G % /