redist.ipw
returns an object of class "redist". The object
redist
is a list that contains the folowing components (the
inclusion of some components is dependent on whether tempering
techniques are used):
partitionsMatrix of congressional district assignments generated by the
algorithm. Each row corresponds to a geographic unit, and each column
corresponds to a simulation.
distance_parityVector containing the maximum distance from parity for
a particular simulated redistricting plan.
mhdecisionsA vector specifying whether a proposed redistricting plan
was accepted (1) or rejected (0) in a given iteration.
mhprobA vector containing the Metropolis-Hastings acceptance
probability for each iteration of the algorithm.
pparamA vector containing the draw of the p
parameter for each
simulation, which dictates the number of swaps attempted.
constraint_popA vector containing the value of the population
constraint for each accepted redistricting plan.
constraint_compactA vector containing the value of the compactness
constraint for each accepted redistricting plan.
constraint_segregationA vector containing the value of the
segregation constraint for each accepted redistricting plan.
constraint_similarA vector containing the value of the similarity
constraint for each accepted redistricting plan.
beta_sequenceA vector containing the value of beta for each iteration
of the algorithm. Returned when tempering is being used.
mhdecisions_betaA vector specifying whether a proposed beta value was
accepted (1) or rejected (0) in a given iteration of the algorithm. Returned
when tempering is being used.
mhprob_betaA vector containing the Metropolis-Hastings acceptance
probability for each iteration of the algorithm. Returned when tempering
is being used.