I would like to create a histogram that uses true and false variables from a data frame to create categories, and then plot them against continuous variables.
plot(data3$eigen_metric ~ groups)
Error in (function (formula, data = NULL, subset = NULL, na.action = na.fail, :
invalid type (list) for variable 'groups