Session Ready
Exercise

Graphing a categorical variable

It is a bit hard to compare the frequencies in tab_w since each frequency is a very large number. Let's add proportions to the table and produce a bar graph to better understand the distribution of depression.

Instructions 1/2
undefined XP
  • 1
  • 2
  • After converting tab_w to a data frame, add a column, called Prop, which contains the estimated proportions for each category of Depressed.