1. 学习
  2. /
  3. 课程
  4. /
  5. Inference for Categorical Data in R

Connected

练习

From tidy to table to tidy

The gss_party dataset that you created is in a tidy format to facilitate visualization and analysis. In this exercise, you'll untidy the data to create a contingency table to display counts. As a data analyst, it's commonplace to be given data in a contingency table, so you'll also practice tidying it back up.

说明 1 / 共 2 个

undefined XP
    1
    2

Using gss_party, create a contingency table() of natspac and party and save it to Obs for observed table.