View source: R/calc.wt.bubbles.R
calc.wt.bubbles | R Documentation |
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)
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 |
fact |
A schrinkage factor. |
Pieter Schoonees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.