plot_oc_coords: Plotting method for Individuals from Optimal Classification...

View source: R/asmcjr.r

plot_oc_coordsR Documentation

Plotting method for Individuals from Optimal Classification Model

Description

Produces a plot of the legislators for a oc object.

Usage

plot_oc_coords(obj, shapeVar = NULL, dropNV=FALSE, ptSize=4, rotMat=diag(2))

Arguments

obj

An object of class nomObject.

shapeVar

Name of the variable that identifies the shapes in the resulting ggplot.

dropNV

Whether or not those who didn't vote Yea or Nay.

ptSize

Size of symbols passed to geom_point.

rotMat

A rotation matrix for the point configuration.

Value

A ggplot


davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.