我制作了一个华夫饼图,显示 9 人中有 5 人正在接受培训,但是否有可能以某种方式将方形图标更改为火柴人?
这是我的代码:
course <- read.csv("courses.csv")
courseES <- filter(course, GEO == "Ireland")
notparti <- c(round(100-courseES$Value,0))
work <- tibble(round(courseES$Value,0),notparti)
colnames(work) <- c('participating','not')
abc <- waffle(work/10, rows=2, size=0.9,
colors=c("#009999", "#808080"),
title="Employed persons participating in job-related non-formal education")
abc + theme(legend.key.size = unit(10, "mm"))
数据: https : //appsso.eurostat.ec.europa.eu/nui/show.do?dataset=qoe_ewcs_6_1&lang=en 选择 2015 年爱尔兰值
有可能以某种方式制作这样的东西吗?提前致谢