当我在R中运行瀑布包时,它说
"在waterfallchart.formula中出错(value~label,data = rasiel,groups =小计,:对象'小计'找不到"
有谁知道问题?谢谢。
library(latticeExtra) library(waterfall) data(rasiel) # Example data of the waterfall package rasiel asTheEconomist( waterfallchart(value~label, data=rasiel, groups=subtotal, main="P&L") )
答案 0 :(得分:0)
奇怪的是,它没有使用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")
)