【发布时间】:2014-06-27 12:12:54
【问题描述】:
根据文档,microbenchmark:::autoplot“使用 ggplot2 生成更清晰的微基准时序图。”
酷!让我们试试示例代码:
library("ggplot2")
tm <- microbenchmark(rchisq(100, 0),
rchisq(100, 1),
rchisq(100, 2),
rchisq(100, 3),
rchisq(100, 5), times=1000L)
autoplot(tm)
我在文档中没有看到任何关于...柔软波动的信息,但我从this answer by the function creator 的最佳猜测是,这就像一系列平滑的运行时间的箱线图,上图和下图四分位数连接在形状的主体上。也许?这些情节看起来太有趣了,不知道这里发生了什么。
这是什么情节?
【问题讨论】:
标签: r plot ggplot2 microbenchmark