如何在数据框列中找到所有NA的索引?

Gee*_*ata 5 r missing-data dataframe

我有一个数据帧,在特定列中我想找到所有NA值的索引.我该怎么做?

Bro*_*ieG 11

which(is.na(my.df$col.I.care.about))
Run Code Online (Sandbox Code Playgroud)