Description Usage Arguments Author(s)
Creates an MDS plot based on COSA data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | pd_mdsplot <- (
coordmat,
labels = NULL,
point_col = "black",
point_size = 1.5,
text_col = "black",
text_size = 3,
line_col = "red",
title = "MDS",
WF,
EL,
CL,
DF
)
|
coordmat |
Matrix with rescaled and rotated coordinates. Usually the result of pd_rescale and pd_mdsrot. |
labels |
Labels of issues and parties in the plot. This needs to follow the order in coordmat. If left NULL, it automatically takes labels in coordmat. |
point_col |
Colour of points. |
point_size |
Size of points. |
text_col |
Colour of label text. |
text_size |
Size of label text. |
line_col |
Color of line. |
title |
Title of the plot. |
WF |
The label of the welfare issue in coordmat. |
EL |
The label of the ecolib issue in coordmat. |
CL |
The label of the cultlib issue in coordmat. |
DF |
The label of the defense issue in coordmat. |
Ioana-Elena Oana
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.