Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否有一个R函数可以使用带有两个标志符号的华夫格图表?一个在左边,一个在右边? 我想“合并”这两个华夫格图表: 有什么想法吗?_R_Waffle Chart - Fatal编程技术网

是否有一个R函数可以使用带有两个标志符号的华夫格图表?一个在左边,一个在右边? 我想“合并”这两个华夫格图表: 有什么想法吗?

是否有一个R函数可以使用带有两个标志符号的华夫格图表?一个在左边,一个在右边? 我想“合并”这两个华夫格图表: 有什么想法吗?,r,waffle-chart,R,Waffle Chart,因为我在文档和互联网上都找不到任何东西,所以我四处尝试,找到了答案:只需为使用glyph函数创建一个向量 waffle(pct, rows = 5, use_glyph = c("arrow-left", "arrow-right"), glyph_size = 9, colors = c("red", "darkred"), title = "Motoraccidents in bends", xlab = "1 glyph = 1% of motorcycle accid

因为我在文档和互联网上都找不到任何东西,所以我四处尝试,找到了答案:只需为使用glyph函数创建一个向量

waffle(pct, rows = 5, use_glyph = c("arrow-left", "arrow-right"), glyph_size = 9, 
   colors = c("red", "darkred"),
   title = "Motoraccidents in bends",
   xlab = "1 glyph = 1% of motorcycle accidents in bends",
   legend_pos = "bottom") 
waffle(pct, rows = 5, use_glyph = c("arrow-left", "arrow-right"), glyph_size = 9, 
   colors = c("red", "darkred"),
   title = "Motoraccidents in bends",
   xlab = "1 glyph = 1% of motorcycle accidents in bends",
   legend_pos = "bottom")