Short demo on how to produce dynamic content in a shiny app at Rapporteket
makeHist(df, x, var, makeTable = FALSE)
Arguments
- df
dataframe from which output is to be made
- x
What to plot
- var
string defining which variable in the data frame to use
- makeTable
Logical that if TRUE function will return a data frame
containin the bin borders and count within each bin
Value
a graphical object or data frame