我在用科比投篮数据作图时出现了这个问题:
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列数据不是数值型导致的,于是我去把数据类型改成数值型了后图果然出来了。