I need to find out on which day are the most children born (Mosaic package)

*Display the descriptive statistics on the number of births each day, broken out by the day of the week. On which day are the most children born? *

tally(~births | day_of_week, data=df2)

Hi, you should provide a reproducible example so that we can run your data. We don't know anything about df2 at the moment, so can't really help you.

Also, if this is your homework, have a read:

Tally is a command used to summarize the data. But I am looking for a command that finds an exact numerical value. The df2 corresponds to the data in the pic. data rquestion

If you use tidyverse, you can get counts quite easily by using group_by() and summarize().

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.