Aggregate different variables

Hello everyone, I'm a beginner in using RStudio and I have to aggregate some variables, I have tried with "aggregate" and "dplyr".

I should aggregate the M and the F gender to work without gender subdivision, and summarize the number of presence of the M and F.


you can try table too


I've tried but in this case it summarize the "Replica" Column..


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.