calc.wt.bubbles {cds}R Documentation

Calculate the Weights for Bubble Plots

Description

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.

Usage

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


[Package cds version 1.0.3 Index]