Other packages > Find by keyword >

redist  

Simulation Methods for Legislative Redistricting
View on CRAN: Click here


Download and install redist package within the R console
Install from CRAN:
install.packages("redist")

Install from Github:
library("remotes")
install_github("cran/redist")

Install by package version:
library("remotes")
install_version("redist", "4.2.0")



Attach the package and use:
library("redist")
Maintained by
Christopher T. Kenny
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-05-18
Latest Update: 2023-04-03
Description:
Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements the SMC algorithm of McCartan and Imai (2023) <doi:10.1214/23-AOAS1763>, the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020) <doi:10.1080/2330443X.2020.1791773>, the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) <doi:10.1080/10618600.2020.1739532>, the Merge-split/Recombination algorithms of Carter et al. (2019) <doi:10.48550/arXiv.1911.01503> and DeFord et al. (2021) <doi:10.1162/99608f92.eb30390f>, and the Short-burst optimization algorithm of Cannon et al. (2020) <doi:10.48550/arXiv.2011.02288>.
How to cite:
Christopher T. Kenny (2015). redist: Simulation Methods for Legislative Redistricting. R package version 4.2.0, https://cran.r-project.org/web/packages/redist
Previous versions and publish date:
1.0 (2015-05-18 07:31), 1.1 (2015-05-19 08:45), 1.2 (2015-08-21 07:38), 1.3-1 (2017-03-15 05:25), 1.3-2 (2018-10-18 00:30), 1.3-3 (2018-12-15 21:40), 1.3 (2016-12-21 23:29), 2.0.1 (2020-09-20 08:30), 2.0.2 (2020-10-14 01:50), 3.0.1 (2021-04-07 11:30), 3.0.7 (2021-05-15 02:40), 3.1.1 (2021-09-05 06:30), 3.1.3 (2021-09-14 18:40), 3.1.4 (2021-09-19 15:20), 3.1.5 (2021-10-06 01:20), 4.0.1 (2022-06-16 08:20), 4.1.0 (2023-03-19 09:50), 4.1.1 (2023-04-03 12:50)
Other packages that cited redist R package
View redist citation profile
Other R packages that redist depends, imports, suggests or enhances
Functions, R codes and Examples using the redist R package
Some associated functions: EPSG . add_reference . avg_by_prec . classify_plans . compare_plans . constraints . fl25 . fl250 . fl25_adj . fl25_enum . fl70 . get_adj . get_existing . get_mh_acceptance_rate . get_plans_matrix . get_plans_weights . get_pop_tol . get_sampling_info . get_target . iowa . is_contiguous . is_county_split . last_plan . match_numbers . merge_by . min_move_parity . number_by . pl . plans_diversity . plot.redist_classified . plot.redist_constr . plot.redist_map . plot.redist_plans . prec_assignment . prec_cooccurrence . print.redist_classified . print.redist_constr . print.redist_map . print.redist_plans . pullback . rbind.redist_plans . redist-package . redist.adjacency . redist.calc.frontier.size . redist.coarsen.adjacency . redist.combine.mpi . redist.compactness . redist.competitiveness . redist.constraint.helper . redist.county.id . redist.county.relabel . redist.crsg . redist.diagplot . redist.dist.pop.overlap . redist.distances . redist.district.splits . redist.enumpart . redist.find.target . redist.findparams . redist.freeze . redist.group.percent . redist.identify.cores . redist.init.enumpart . redist.ipw . redist.mcmc.mpi . redist.metrics . redist.multisplits . redist.muni.splits . redist.parity . redist.plot.adj . redist.plot.cores . redist.plot.distr_qtys . redist.plot.hist . redist.plot.majmin . redist.plot.map . redist.plot.penalty . redist.plot.plans . redist.plot.scatter . redist.plot.trace . redist.plot.varinfo . redist.plot.wted.adj . redist.prec.pop.overlap . redist.prep.enumpart . redist.random.subgraph . redist.read.enumpart . redist.reduce.adjacency . redist.reorder . redist.rsg . redist.run.enumpart . redist.segcalc . redist.sink.plan . redist.smc_is_ci . redist.splits . redist.subset . redist.uncoarsen . redist.wted.adj . redist_ci . redist_constr . redist_flip . redist_flip_anneal . redist_map . redist_mergesplit . redist_mergesplit_parallel . redist_plans . redist_quantile_trunc . redist_shortburst . redist_smc . reexports . scorer-arith . scorer-combine . scorers . subset_sampled . summary.redist_plans . tally_var . 
Some associated R codes: RcppExports.R . adjacency.R . classify_compare.R . confint.R . cores.R . counties.R . crsg.R . data.R . deprecations.R . diagnostics.R . distances.R . enumpart.R . filler_generics.R . findtarget.R . flip_helpers.R . freeze.R . map_helpers.R . numbering.R . parity.R . plans_helpers.R . plot_cores.R . plot_diagnostics.R . plot_majmin.R . plot_map.R . plot_penalty.R . plot_plans.R . plot_varinfo.R . plot_weighted_adj.R . pop_overlap.R . random_subgraph.R . redist-package.R . redist-preproc.R . redistMPI.R . redist_constr.R . redist_findparams.R . redist_flip.R . redist_map.R . redist_ms.R . redist_ms_parallel.R . redist_plans.R . redist_shortburst.R . redist_smc.R . reindex.R . rsg.R . skinny_flips.R . tidy.R . tidy_deprecations.R .  Full redist package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

buildr  
Organize & Run Build Scripts Comfortably
Working with reproducible reports or any other similar projects often require to run the script that ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
Deriv  
Symbolic Differentiation
R-based solution for symbolic differentiation. It admits user-defined function as well as function s ...
Download / Learn more Package Citations See dependency  
lgarch  
Simulation and Estimation of Log-GARCH Models
Simulation and estimation of univariate and multivariate log-GARCH models. The main functions of the ...
Download / Learn more Package Citations See dependency  
bulletr  
Algorithms for Matching Bullet Lands
Analyze bullet lands using nonparametric methods. We provide a reading routine for x3p files (see &l ...
Download / Learn more Package Citations See dependency  

22,086

R Packages

187,731

Dependencies

55,244

Author Associations

22,087

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns