当我在r中运行瀑布包装时,它说
"瀑布中的错误 = subtotal,:未找到对象'subtotal''
有人知道问题吗?谢谢。
library(latticeExtra) library(waterfall) data(rasiel) # Example data of the waterfall package rasiel asTheEconomist( waterfallchart(value~label, data=rasiel, groups=subtotal, main="P&L") )
奇怪的是,它不使用rasiel闭合
library(latticeExtra)
library(waterfall)
data(rasiel) # Example data of the waterfall package
rasiel
asTheEconomist(
waterfallchart(value~label, data=rasiel,
groups=rasiel$subtotal, main="P&L")
)