1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Analyzing Survey Data in R

Connected

अभ्यास

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.

निर्देश 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.