Description Usage Arguments Value Examples
Interaction plot uses brkdn.plot
in plotrix package and svyby
function from survey package. Warnings suppressed so the function creates plot without generating intermediate results used to create plot.
1 |
function1 |
A function in the form ~depvar |
function2 |
A function. Here indepvar is typed before controlvar: ~indepvar + controlvar |
data |
Design dataset (e.g. nesD, gssD, statesD, or worldD) |
function3 |
A function. Here indepvar is typed after controlvar: ~controlvar + indepvar |
... |
Further arguments to be passed to |
No value returned
1 2 3 4 5 6 7 8 | library(poliscidata)
iplotC(function1 = ~ ft_dem, function2 = ~ gender + married,
data = nesD, function3 = ft_dem ~ married + gender)
iplotC(~ft_dem, ~gender+married, nesD, ft_dem~married+gender,
xlab="Gender", ylab="Democratic Party Rating",
main="Democratic Party Rating by Gender and Marital Status")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.