R: count distinct IDs where selected column is non-null

前端 未结 0 769
北海茫月
北海茫月 2020-12-24 06:21

I have the following dataframe:

user_id <- c(97, 97, 97, 97, 96, 95, 95, 94, 94)
event_id <- c(42, 15, 43, 12, 44, 32, 38, 10, 11)
plan_id <- c(NA, 3         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题