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