# NOT RUN {
bt1 <- data.frame(parties = c("PP", "CSU", "SPD","IU"),
                 seats   = c(200, 46, 153,58),
                 cols    = c("black", "blue", "red","jjj"),
                 stringsAsFactors = FALSE)
bt2 <- data.frame(parties = c("PP", "CSU","UP1"),
                 seats   = c(100, 146,200),
                 cols    = c("green", "blue","GGG"),
                 stringsAsFactors = FALSE)
Arc_Comparacion(bt1$parties,bt2$parties, bt1$seats,
               bt2$seats, cols=c("PP"="blue", "CSU"="red","SPD"="green",
                                 "IU"="pink","UP1"="antiquewhite" ),
               titu1 = "Abril-2019",titu2 = "Noviembre-2019",
               titu = " Comparaci<U+00C3><U+00B3>n de elecciones")
# }
Run the code above in your browser using DataLab