Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ei_iter() par_compute = T #141

Open
lorenc5 opened this issue Nov 12, 2022 · 0 comments
Open

ei_iter() par_compute = T #141

lorenc5 opened this issue Nov 12, 2022 · 0 comments

Comments

@lorenc5
Copy link
Collaborator

lorenc5 commented Nov 12, 2022

The par_compute() argument when set to true can swap the results table around on summary(results).

E.g.:

Parallel Computing

set.seed(18475)
ei_results_iter <- ei_iter(
data = south_carolina,
cand_cols = cands,
race_cols = race,
totals_col = total,
name = "Iter",
par_compute = TRUE
)

summary(ei_results_iter)

When par_compute is FALSE, the results list out pct_white then pct_black tables; when par_compute = T, the tables are reversed. Results in both are the same but ordering is off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant