Reputation: 1
I need to do a table, like the one below, in R, it has continuous variables in the rows that needs to be separated into two categories (in the image is men and women) and calculate the mean and sd (that has to be between brackets) for each of the two groups. Table
I hope I explained myself all right, really hope you could help me because I can't find anywhere how to do it.
Thanks so much
I have tried crosstables and summarize functions but it does not seem to work.
Upvotes: 0
Views: 54