r - 如何用 R 创建这种图
问题描述
我正在尝试重现此图:
我在这里找到:https ://www.stats.com/industry-analysis-articles/salah-out-of-form-or-out-of-position/
但我所做的只是:
使用此代码:
ggplot(A[Position == "Central midfielder right",],
aes(x = variable ,y = value, fill = variable)) +
geom_bar(stat = "identity", position = "dodge") +
coord_polar()
解决方案
推荐阅读
- java - RabbitMQ 或 Kafka 消息队列是 1:1 消息系统吗?
- sql - 在给定案例的情况下更改 where 语句
- python - 合并两个数组,一个已排序,另一个未排序,第二个不适合内存 [Python]
- javascript - import 语句给出一个语法错误,说“不能在模块外使用 import 语句”
- windows - 虚幻引擎 4 PackageError - CompilationResultException:错误:OtherCompilationError
- android - ExoPlayer 调整大小仅在第一次调用时有效
- plot - 仅在 ma5 > ma10 时绘图
- python - 正则表达式:删除某些标点符号中的空格
- jquery - 无法使用 stackblitz.com 在 Angular 中导入 jQuery
- javascript - JSON 输入错误的意外结束,似乎是有效的 JSON