以下是代码:
df$ProsperRating..Alpha.<-ordered(df$ProsperRating..Alpha.,
levels = c("AA","A","B","C","D","E","HR"))
ggplot(aes(x=BorrowerAPR,y=LP_InterestandFees),
data=subset(df,!is.na(ProsperRating..Alpha.)))+
geom_point(alpha=0.2,aes(color=ProsperRating..Alpha.),position = "jitter")
我如何实现这一目标?