R 2.15中scale_continuous中的格式化参数引发错误

15

自从升级到R 2.15版本后,formatter参数似乎会引发错误。这是我已经使用了两年的参数,所以非常糟糕。

R版本2.15.0(2012-03-30)

ggplot2版本0.9.0

> library(ggplot2)
> x <- 1:100
> y <- 1/x
> p <- qplot(x,y)
> p + scale_y_continuous(formatter = "percent")
Error in continuous_scale(c("y", "ymin", "ymax", "yend", "yintercept",  : 
  unused argument(s) (formatter = "percent")

3
没关系……第31页:http://cloud.github.com/downloads/hadley/ggplot2/guide-col.pdf - jlemaitre
去掉前缀 'cloud.' 以使其成为有用的链接。 - IRTFM
1个回答

20

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接