if ('k_flg' %in% flag_type == True){tkmessageBox(title = "Flag Exist", message = "k flag exist", icon = "info", type = "ok")
Error: object 'flag_type' not found
how can I use R to detect if the k_flag is exist in flag_type column. I try to use if but i got the error above.
I expect the if statement to return when the k_flag is in falg_type column
Column A | flag_type |
---|---|
Cell 1 | k_flag |
Cell 3 | a_flag |
Cell 1 | d_flag |
Cell 3 | c_flag |
New contributor
ktw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.