View source: R/preprocess_rollcall.R
preprocess_rollcall | R Documentation |
This function is used to preprocess roll call data for analysis. It allows users to remove legislators, combine legislators with specified indices, exclude lopsided votes based on minority voting proportions, and filter out legislators with excessive missing votes.
preprocess_rollcall(
x,
data_preprocess = list(leg_rm = NULL, combine_leg_index = NULL, combine_leg_party =
NULL, lop_leg = 0.6, lop_issue = 0)
)
x |
A roll call object. |
data_preprocess |
A list of parameters for preprocessing data:
|
A roll call object that has been processed.
data(h116)
h116.c = preprocess_rollcall(h116)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.