calc.wt.bubbles function

Calculate the Weights for Bubble Plots

Calculate the Weights for Bubble Plots

Calculate weights for the bubbles in the plot method of cds objects. The relative frequencies within a dset of groups are used to calculate the size of the bubble so that the area of the bubble is proportional to the relative frequency of the rating category within that group.

calc.wt.bubbles(dat, grp, q, fact = 0.12)

Arguments

  • dat: A data set from which to derive the relative frequencies
  • grp: A vector giving the group memberships.
  • q: An integer such that the rating scale is 1:q.
  • fact: A schrinkage factor.

Author(s)

Pieter Schoonees

  • Maintainer: Pieter Schoonees
  • License: GPL (>= 2)
  • Last published: 2016-01-05

Useful links