1. S

    [R] Changing 2 Numeric Variables to 1 Categorical Variable in R?

    I am a finance student and have been playing around in R the past couple of weeks (Rookie here..). QUESTION: I have two numeric variables: A and B. And I want turn these in one cathegorical variable C. C takes the following values: 1 if A and B both score top decile – or quintile of the...