In this tutorial
https://learningstatisticswithr.com/book/chisquare.html
in Example 12.8.1 I understand the result of the test
## M