Hi,
I have got a 2x2 table:

The result of chi square test is 4.24.
When I do it with online calculator it is 4.24. as well.

When I do it in R:
data <- matrix(c(60, 40, 24, 32), byrow=TRUE, nrow=2)
colnames(data) <- c("Pass", "Fail")
rownames(data) <- c("Male", "Female")
View(data)
data %>% chisq.test()


What do I do wrong ?
Where does that difference (between 4.24 and 3.58) come from ?