Calculate frequencies.
prodcalc(
data,
formula,
divider = mosaic(),
cascade = 0,
scale_max = TRUE,
na.rm = FALSE,
offset = offset
)
input data frame
formula specifying display of plot
divider function
cascading amount, per nested layer
Logical vector of length 1. If TRUE
maximum values
within each nested layer will be scaled to take up all available space.
If FALSE
, areas will be comparable between nested layers.
Logical vector of length 1 - should missing levels be silently removed?
# NOT RUN {
library(productplots)
prodcalc(happy, ~ happy, "hbar", offset = 0.005)
prodcalc(happy, ~ happy, "hspine", offset = 0.01)
# }
Run the code above in your browser using DataLab