pd_mdsplot: Creates an MDS plot

Description Usage Arguments Author(s)

Description

Creates an MDS plot based on COSA data.

Usage

 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
  )

Arguments

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.

Author(s)

Ioana-Elena Oana


nenaoana/MDScosa documentation built on April 12, 2020, 10:20 a.m.