new_vbdf {blocs} | R Documentation |
Constructor for class vbdf
new_vbdf(x, bloc_var = character(), var_type = c("discrete", "continuous"))
x |
a data.frame |
bloc_var |
character vector naming the variables to define voting blocs |
var_type |
string, the type, discrete or continuous |