我已经看到了这两种用法,但我不知道2在实际中的区别.
而且,为什么
stat_vline(xintercept="mean", geom="vline") # this works
Run Code Online (Sandbox Code Playgroud)
但
geom_vline(xintercept="mean", stat="vline") # this doesn't work
Run Code Online (Sandbox Code Playgroud)
这是否意味着在传递mean到下一层之后,vline在这种情况下,该函数变为字符?这种行为一般吗?