I have told R the names of my categorical data and tried to plot however I have encountered this error:
plot(dframe1$Household.equiptment, dframe1$Schisto.Visual, ylab = "BMI", xlab = "age") Error in plot.window(...) : need finite 'xlim' values In addition: Warning messages: 1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf
The variable has 4 categories:
Charcoal Electric and Gas None Stove
1376 6 475 3
I'm not sure why r won't plot this data for me, can anyone help?