User Tools

Site Tools


interactive_pivot_with_r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

interactive_pivot_with_r [2015/12/16 13:26] (current)
vincenzo created
Line 1: Line 1:
 +<code c>
 +## Install packages
 +library(devtools)
 +install_github("​ramnathv/​htmlwidgets"​) ​
 +install_github("​smartinsightsfromdata/​rpivotTable"​)
 +## Load rpivotTable
 +library(rpivotTable)
 +data(mtcars)
 +## One line to create pivot table
 +rpivotTable(data_count_campaign,​ rows="​count",​ col="​cyl",​ aggregatorName="​Average", ​
 +            vals="​mpg",​ rendererName="​Treemap"​)
 +            ​
 +</​code>​
  
interactive_pivot_with_r.txt ยท Last modified: 2015/12/16 13:26 by vincenzo