ggplot2_Error:geom_point 使用ggplot作图时出现的问题
ggplot2_Error:geom_point
文章共114字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
我在用科比投篮数据作图时出现了这个问题:
Error in `check_required_aesthetics()`:
! geom_point requires the following missing aesthetics: y
Run `rlang::last_error()` to see where the error occurred.
ggplot2_Error:geom_point 需要以下缺失的美学:y
经过查询发现可能时y列数据不是数值型导致的,于是我去把数据类型改成数值型了后图果然出来了。
更多推荐
已为社区贡献1条内容
所有评论(0)