ubcecon / comet-project

This repository stores our public notebooks for the COMET project: comet.arts.ubc.ca
Other
5 stars 7 forks source link

Working on ECON 325: Dispersion and Dependence- Module 2 - in progress #23

Closed amohaidly1996 closed 1 year ago

amohaidly1996 commented 1 year ago

Error in drop_na(., wages): could not find function "drop_na" Traceback:

  1. census_data %>% drop_na(wages)
  1. census_data %>% group_by(immstat) %>% summarize(avg_wage = mean(wages), . sd_wage = sd(wages), median_wage = quantile(wages, 0.5), . r_wm = cor(wages, mrkinc))
  2. summarize(., avg_wage = mean(wages), sd_wage = sd(wages), median_wage = quantile(wages, . 0.5), r_wm = cor(wages, mrkinc))
  3. group_by(., immstat)
amohaidly1996 commented 1 year ago

@oliverxjy ready for review