Suppose we have a table where one of the column has only two unique values e.g. Sex and we need to calculate the proportion (ratio) of each Sex. We can use the function prop.table to calculate and tabulate the results
Foresight from Insight
Suppose we have a table where one of the column has only two unique values e.g. Sex and we need to calculate the proportion (ratio) of each Sex. We can use the function prop.table to calculate and tabulate the results