The Cape Ratel (Mellivora capensis, African Honey Badger) is a predator across most of the African continent. As part of a team investigating the health of the local Cape Ratel population in KwaZulu Natal province, South Africa, you have distributed surveys to the residents of Rorke's Drift, Ombimbini, and workers upon the Matshitsholo Nature Reserve. Surveys ask questions using Likert items, which are numerically coded from 1–5. You are particularly interested in the following question:
"How frequently do you see the Cape Ratel where you work? Very Infrequently (1), Infrequently (2), Unsure/Average (3), Frequently (4), Very Frequently (5)"
The responses of a select stratified sample of respondents is included below.
Rorke's Drift (Isandlwana):5, 1, 3, 5, 2, 5, 2, 1, 1, 5, 4, 3 , 2, 5, 5, 2, 1, 5, 2, 1, 3, 1, 5, 1, 5, 4
Ombimbini: 2, 3, 4, 2, 5, 2, 1, 3, 4, 1, 2, 3, 2, 3, 3, 3, 1, 2, 4, 3, 3, 3, 3, 4, 3, 3, 5, 1, 1, 2, 2
Matshitsholo Nature Reserve:4, 5, 4, 3, 4, 5, 3, 4, 5, 4, 3, 3, 3, 4
Test these three areas for difference using the Kruskal-Wallis Test in R. Report the Chi-squared value, the degrees of freedom, and the p-value of your test within your code comments. Show your work in an attached .R file. You may use either a .CSV file or create your own data frame within the R code.