inst/examples/inclexcl.R

library(rpivotTable)

rpivotTable(
  Titanic,
  rows = "Survived",
  cols = c("Class","Sex"),
  aggregatorName = "Sum as Fraction of Columns",
  inclusions = list( Survived = list("Yes")),
  exclusions= list( Class = list( "Crew")),
  vals = "Freq",
  rendererName = "Table Barchart"
)
smartinsightsfromdata/rpivotTable documentation built on Feb. 4, 2018, 1:05 a.m.