This is probably a dumb question but when I make a contingency table like this :
round(100*(prop.table(addmargins(table(commun$grp,commun$sexe)))),2)
I have this result :

When I juste made it with my proportions I have this :
addmargins(table(commun$grp,commun$sexe))

It's probably a dumb question by I don't understand why my percentages total is 25 and not 100%. Thank you for your time.