Good aftrenoon,
I am currently programming in R through the Dataiku and I have a very special question, how can I write this two logical characters in the same phrase? When I am working just with & or | separetly it is working, but once I try:
direction_final=
ifelse(directeur=="MINISTRE"|directeur=="PREFET"|(directeur=="MAIRE"&publique!=""),"Direction Général",""
)
So my question is it possible to use & and | together n the same part of the ifelse? And if it possible how can I get a good answer?
Thank you in advance for your answer.
0 ·