mp_scale
.scale_logit
scales the data on a logit scale as described by Lowe et al. (2011).
scale_bipolar
scales the data by adding up the variable
values in pos and substracting the variable values in neg.
scale_ratio
scales the data taking the ratio of the sum of the variable
values in pos and the sum of the variable values in neg as suggested by Kim and Fording (1998) and by Laver & Garry (2000).
scale_weighted(data, vars = grep("per((\\d{3}(_\\d)?)|\\d{4}|(uncod))$",
names(data), value = TRUE), weights = 1)scale_logit(data, pos, neg, N = data[, "total"], zero_offset = 0.5, ...)
scale_bipolar(data, pos, neg, ...)
scale_ratio(data, pos, neg, ...)
scale_weighted
scale_weighted
scales the data as a weighted sum of the variable valuesIf variable names used for the definition of the scale
are not present in the data frame they are assumed to be 0.
scale_weighted
scales the data as a weighted sum of the category percentages
Kim, H., & Fording, R. C. (1998). Voter ideology in western democracies, 1946-1989. European Journal of Political Research, 33(1), 73-97.
Laver, M., & Garry, J. (2000). Estimating Policy Positions from Political Texts. American Journal of Political Science, 44(3), 619-634.
mp_scale