FAplot: Plot party candidates on a 2D factor plot

Description Usage Arguments

Description

Takes candidate answers and their factor scores, and plots them on a 2D plot (that can be rotated), coloring candidates by party.

Usage

1
FAplot(PAF(data, 2, FALSE, names(select(data, q1:q30))), centers=FALSE, add=FALSE)

Arguments

fa_ans

The data set and factor scores together. Use PAF to get this.

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


tjpajala/vaalikone documentation built on May 26, 2019, 9:34 a.m.