r - r用ggridge绘制错误不同的行数
问题描述
使用 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’
解决方案
推荐阅读
- vue.js - 使用 vuetifyjs 在 vue 中未内联输入字段的对齐/位置
- r - 识别唯一的 Dataframe 值 r
- dynamics-crm - Dynamics 365 - 在新的 Eventbrite 联系人上创建工作流
- reporting-services - 子报表上的隐藏字段在 Word 中仍然可见
- angular - 角度打字稿中的HexString到Base64
- c++ - 更改正在由另一个 dll 加载的 dll 的名称
- javascript - 抓取 Android 商店
- java - 在 Rascal 中引用 Java 文件
- python - 具有符号的过滤器字符串出现特定次数
- mongodb - 如何为微服务创建非root用户连接mongodb