0

hello I am not good at statistics at all, and have this set of data which I keep getting errors for when trying to make a barplot to compare the counts of 5 different behaviours over 9 different days. How can I possibly do this in R, and how can I do a chi-squared test to check if there is a statistical difference between the different behavioural categories of their counts? This is my dataset: an image of my dataset as it was too large to paste here

  • There's lots of resources out there - http://www.r-tutor.com/elementary-statistics/goodness-fit/chi-squared-test-independence - for χ-squared and previous questions like - https://stackoverflow.com/questions/36135900/r-create-barplot-from-aggregated-data-frame - for dealing with barplotting aggregate data. – thelatemail Dec 19 '18 at 23:39
  • `chisq.test()`. – user2974951 Dec 20 '18 at 08:22

0 Answers0