0

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
Phil
  • 7,287
  • 3
  • 36
  • 66
  • Can you make your post [reproducible](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) and provide your data using `dput(data3)`? – jrcalabrese Dec 14 '22 at 20:13

0 Answers0