Draw the overlap of a design_overlap() result as a bar per lag, the
profile print() reports as a table. The axis names its basis, issued
units for a rotation and respondents for a panel plan. The rotation chart
the overlap comes from is drawn from the rotation, with
plot.svyplan_rotation().
Usage
# S3 method for class 'svyplan_overlap'
plot(x, ...)Arguments
- x
A
svyplan_overlapobject fromdesign_overlap().- ...
Graphical parameters passed to
barplot(), which override the defaults:col = "grey40",ylim = c(0, 1), and axis labels and a title naming the rotation.
See also
design_overlap(), and plot.svyplan_rotation() for the
rotation chart.
Examples
plot(design_overlap("1-1-0-0-1-1"))
# The CPS 4-8-4 profile, with its 50 percent overlap at 12 months
plot(design_overlap("4-8-4"), col = "steelblue")