Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは皆さん、これは私の最初の投稿です。いくつかのベクトルで NA の数を合計するのに助けが必要です
例えば..
c1<-c(1,2,NA,3,4) c2<-c(NA,1,2,3,4) c3<-c(NA,1,2,3,4)
ベクトル内の NA の数だけを合計する結果を得るにはどうすればよいですか?
the.result.i.want<-c(2,0,1,0,0)