r使用ggridge绘制不同行数的错误

时间:2018-09-05 21:09:14

标签: r ggplot2

使用ggridges时出现错误,提示参数暗示不同的行数:2、1536

知道发生了什么吗?

Picking joint bandwidth of 0.181
Don't know how to automatically pick scale for object of type quosure/formula. Defaulting to continuous.
Error in data.frame(..., check.names = FALSE) : 
  arguments imply differing number of rows: 2, 1536

library(ggplot2)
library(ggridges)

ggplot(iris, aes(x = Sepal.Length, y = Species)) + geom_density_ridges()



 packageVersion("ggplot2")
[1] ‘2.2.1’
> packageVersion("ggridges")
[1] ‘0.5.0’

0 个答案:

没有答案