Can someone enlighten me ? I know it's very basic but i'm really confused with how to make correlation with numeric AND non-numeric variable.
I have a data.frame with multiple variables. Some of it are numerical and other non-numeric. My data.frame look something like this :
Var1 Var2 Var3 Var4 Var7(binary)
0.1 1 one 0.9 1
3.3 3 one 0 0
4.4 4 two 2 0
5.5 5 one 3 1
1.0 2 one 3.2 1
With this data.frame, I have multiple models I want to test. But, first, I want to check if certain variables are correlated. Can I just use Pearson test? I use pair.panel
to check for correlated variable but I think it's using Pearson test and I'm not sure I can use Pearson for no numeric data ?
I'm very confused ...