ggvis: 找不到 compute_quantreg 函数

ggvis: can't find compute_quantreg function

我正在尝试在 ggvis 中创建 geom_quantilethe documentation 说这可以使用

来完成
geom_quantile = layer_paths + compute_quantreg

但是,我找不到 compute_quantreg 函数。 google search 除了在同一个文档页面上说要执行上述操作外,什么也没显示。我也试过 ??compute_quantreghelp("compute_quantreg") 但没有成功。知道在哪里可以找到此功能吗?

截至该日期 (ggvis_0.4.2)、dplyr_0.4.3ggplot2_2.1.0.

,我使用的是最新版本的 ggvis

截至 2016 年 7 月 5 日 cory mentioned in the comments, looks like this function is on the roadmap but has not yet been added

Ben 还提到了这个简洁的 apropos 函数,可以如下所示使用它来查看实现了哪些计算层(或它们的名称)。

library(ggvis)
apropos("^compute_") 

有关 compute_quantile 函数的潜在实现,请参阅 this linkquantile-compute.R 函数。