R&Excel : Creating Pivot Tables & Slicers

标签 r excel

我们的业务用户希望我们创建分析背后的数据导出。 AVP 想知道我们是否可以对数据进行切片,以便用户可以按照他们想要的任何方式过滤数据。 Excel 切片器由数据透视表支持,因此我必须能够首先在 Excel 工作簿中创建数据透视表。

我可以轻松地将数据从 R 导出到 Excel。我似乎找不到支持创建数据透视表或切片器的 R 包。这样的包存在吗?或者这只是超出了目前任何可用软件包的范围?

最佳答案

这是一个老问题,但万一有人在这里结束并且仍然需要核心问题的答案:

I can easily export the data to Excel from R. I can't seem to find an R package that supports the creation of either pivot tables or slicers [in Excel]. Does such a package exist?



是的,这要感谢 Chris Bailiss。查看包裹pivottabler ,并且有一个很棒的小插图演练here .

关于R&Excel : Creating Pivot Tables & Slicers,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47076123/

相关文章:

r - 如何在 R 中将 mtext() 旋转 180 度

r - 在使用 ggplot2 创建的散点图上改变颜色渐变

r - 在 rvest 中获取和设置 cookie

excel - MS Excel VBA : Find cells that have a specific formula type

检查工作簿是否存在的 VBA 函数

arrays - 将数组写入范围。只获取数组的第一个值

r - 使用 data.table 编写具有聚合功能的 R 函数

r - 使用 rms lrm 对象获得限制

excel - 下标超出范围 IF ISERROR 问题

vba - 使用 Excel VBA 查找工作簿中的所有匹配项