googleVisのオプションの指定について
忘れるので典型例だけメモ。
以下は円グラフの例。
library(googleVis) Pie1 <- gvisPieChart(CityPopularity, options = list(reverseCategories = TRUE, width = 600, height = 500, legend = "top", title = "hoge", colors = "['red', 'black', 'blue']")) plot(Pie1)
追記
gvisTableで表示させたいテーブルの列名が欠損していると表が出力されない。
エラーが出ないので注意。