Thank you, finally got it to work.
In this case then, how would I plot to see if there is correlation between the same two categories? the ggplot only gives me frequencies of the results for schistosomiasis.
Or how would I compute the same plot however just containing positive values for schisto Elisa? the threshold is 0.2, I was thinking as below:
library(ggplot2)
ggplot(data = dframe1) + (aes(x = dframe1$Household.equiptment, y = dframe1$Schisto.elisa[>0.2])) +
geom_col()
#> Error: <text>:2:91: unexpected '>'
#> 1: library(ggplot2)
#> 2: ggplot(data = dframe1) + (aes(x = dframe1$Household.equiptment, y = dframe1$Schisto.elisa[>
#> ^
Created on 2019-01-10 by the reprex package (v0.2.1)