0

由于我需要在函数中使用 ggplot2,因此需要非标准评估模式。因此,aes_string使用 with "price"。但是,则..count..不再定义

ggplot(diamonds, aes_string(x="price", ..count../sum(..count..))) + geom_histogram(binwidth = 500)
4

0 回答 0