packed_bar_shiny: Plot rPackedBar in 'shiny'

Description Usage Arguments

Description

Output and render functions for using 'rPackedBar' within 'shiny' applications and interactive Rmd documents.

Usage

1
2
3
4
packedBarOutput(outputId, width = "100%", height = "400px",
  inline = FALSE, clickedBarInputId = paste0(outputId, "_clicked"))

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

Arguments

outputId

output variable to read from

width, height

Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.

inline

use an inline (span()) or block container (div()) for the output

clickedBarInputId

The input id to assign the label of the clicked bar. Defaults to outputId_clicked and can be referenced in the server as input$outputId_clicked.

expr

An expression that generates an rPackedBar.

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.


AdamSpannbauer/rPackedBar documentation built on June 18, 2019, 8:37 p.m.