mycode:
ggplot(iris, aes(x = Sepal.Length, y = Species)) +
geom_density_ridges(rel_min_height = 0.005) +
scale_y_discrete(expand = c(0.01, 0)) +
scale_x_continuous(expand = c(0.01, 0)) +
theme_ridges()
错误:
Picking joint bandwidth of 2.7
Don't know how to automatically pick scale for object of type
quosure/formula. Defaulting to continuous.
Error in data.frame(..., check.names = FALSE) :
参数值意味着不同的行数: 2, 512