I am having problems in create a pivot table with a data frame like this:
c1 c2 c3 c4 E 5.76 201 A la vista E 47530.71
With rpivotTable, you can pivot like in Excel.
install.packages("rpivotTable") library(rpivotTable) data(mtcars) rpivotTable(mtcars)