The qhpvt
function renders a basic pivot table as a HTML widget with
one line of R.
qhpvt(
dataFrame,
rows = NULL,
columns = NULL,
calculations = NULL,
theme = NULL,
replaceExistingStyles = FALSE,
tableStyle = NULL,
headingStyle = NULL,
cellStyle = NULL,
totalStyle = NULL,
...
)
The data frame containing the data to be summarised in the pivot table.
A character vector of variable names to be plotted on the rows of the pivot table, or "=" to specify the position of the calculations.
A character vector of variable names to be plotted on the columns of the pivot table, or "=" to specify the position of the calculations.
One or more summary calculations to use to calculate the values of the cells in the pivot table.
Either the name of a built-in theme (default, largeplain, compact or blank/none) or a list which specifies the default formatting for the table.
TRUE to completely replace the default styling with the specified tableStyle, headingStyle, cellStyle and/or totalStyle
A list of CSS style declarations that apply to the table.
A list of CSS style declarations that apply to the heading cells in the table.
A list of CSS style declarations that apply to the normal cells in the table.
A list of CSS style declarations that apply to the total cells in the table.
Additional arguments, currently format, formats, totals, styleNamePrefix, compatibility and/or argumentCheckMode.
A HTML widget.