1.4 summarize() | R for data science: tidyverse and beyond. ... n() 会把缺失值也包含到计数中,如果想要计算出非缺失值的数量,可以使用 sum(is.na(x)) 。
確定! 回上一頁