I want to make a new variable "churned" by taking into account five variables :
- Include in churn
- A-Churn
- B-Churn
- C-Churn
- D-Churn
My condition is - If variable "Include in churn" has 1 and for all other variables , if any one of the variables has 1 than my new variable "Churned" should have 1 else 0. I am a newbie in using mutate function.
Please help me to create this new variable thru 'mutate' function.