Takes candidate answers and their factor scores, and plots them on a 2D plot (that can be rotated), coloring candidates by party.
1 |
fa_ans |
The data set and factor scores together. Use |
party_col |
Column name that represents party (as string). |
centers |
Boolen to control for drawing party centers. |
add |
Do you want to add points to a previous plot, or draw a new one? |
pch |
Which plot symbol to use. |
flip |
Degrees of rotation for the plot, can be used to align left-right axis in the usual political direction |
... |
Any additional arguments for the plot function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.