I have a large data set in R which I am currently analysing. I'm trying to plot confounding variables and have one which considers the patients household equipment (2=none, 1= stove, 3= charcoal).
How would I tell R to make a graph which considers each of these categories, so I want to correlate malaria ("Malaria...giemsa") against each of the household equipment.
I basically want to see if there are higher counts for malaria if the patient has no household equipment, than if they had a stove/ charcoal etc.
Here is an interesting answer on Stack Exchange that explains why you can't get correlation between continuous and categorical variables, and gives you another analogous measures of strength of association with examples in R.