Closed kylebutts closed 3 years ago
lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)
need lmb_data <- lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)
lmb_data <- lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)
To be able to replicate the results and have 2441 observations, it has to be: lmb_subset <- lmb_subset %>% filter(lagdemvoteshare > .45 & lagdemvoteshare < .55)
lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)
need
lmb_data <- lmb_data %>% mutate(demvoteshare_sq = demvoteshare_c^2)