Learn R Programming

rpivotTable (version 0.3.0)

renderRpivotTable: Widget render function for use in Shiny

Description

Widget render function for use in Shiny

Usage

renderRpivotTable(expr, env = parent.frame(), quoted = FALSE)

Arguments

expr

rpivotTable expression

env

environment

quoted

logical, default = FALSE

Examples

Run this code
# NOT RUN {
  # A simple example - this goes in the server part of a shiny application

  # output$pivot <- renderRpivotTable({
  #          rpivotTable(data =   canadianElections   ,  rows = c( "Province"),cols="Party",
  #          vals = "votes", aggregatorName = "Sum", rendererName = "Table",
  #          width="100%", height="500px")
  # })



# }

Run the code above in your browser using DataLab