Skip to content

Commit

Permalink
name args
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherkenny committed Jun 12, 2024
1 parent 9aaa367 commit 80a6e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/calc_plan_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ calc_plan_stats <- function(plans, map, calc_polsby = FALSE, ...) {
plans %>%
dplyr::mutate(
dem = redist::group_frac(map, dvote, dvote + rvote),
egap = redistmetrics::part_egap(plans = redist::pl(), map, rvote, dvote),
pbias = redistmetrics::part_bias(plans = redist::pl(), map, rvote, dvote)
egap = redistmetrics::part_egap(plans = redist::pl(), shp = map, rvote = rvote, dvote = dvote),
pbias = redistmetrics::part_bias(plans = redist::pl(), shp = map, rvote = rvote, dvote = dvote)
) %>%
dplyr::as_tibble() %>%
dplyr::group_by(.data$draw) %>%
Expand Down

0 comments on commit 80a6e11

Please sign in to comment.