0

I'm beginner with R and I'm trying do a merge with mutate but is not running right.

I have two tables and I need put a flag when there is the similar id

I tried:

resultado <- inclusos  %>% 
  mutate (flag_erro_cv = ifelse(ID_CNDO == user_erro$ID_USRO,1,0))

Thanks so much

Peter
  • 11,500
  • 5
  • 21
  • 31

0 Answers0