🌈 搜索
📅  最后修改于: 2022-03-11 14:51:59.509000             🧑  作者: Mango
a = c(NA,T,F,F) sum(a, na.rm=TRUE) # best way to count TRUE values #which gives 1.