prodcalc: Calculate frequencies.

Description Usage Arguments Examples

View source: R/calculate.r

Description

Calculate frequencies.

Usage

1
2
prodcalc(data, formula, divider = mosaic(), cascade = 0, scale_max = TRUE,
  na.rm = FALSE)

Arguments

data

input data frame

formula

formula specifying display of plot

divider

divider function

cascade

cascading amount, per nested layer

scale_max

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.

na.rm

Logical vector of length 1 - should missing levels be silently removed?

Examples

1
2
prodcalc(happy, ~ happy, "hbar")
prodcalc(happy, ~ happy, "hspine")

productplots documentation built on May 2, 2019, 8:17 a.m.