FA_ggplot: Plot factor plot with ggplot

Description Usage Arguments

Description

Plots points on a 2D coordinate scatter plot, based on their factor scores.

Usage

1
FA_ggplot(PAF(data, 2, FALSE, names(select(data, q1:q30))),flip=20)

Arguments

fa

The data frame including factor scores.

flip

Degrees to rotate axes (so that leftists are on the left, etc.) Default value 20 (works for HS data).

colname_party

The column name that denotes party

encircle

Should candidates of each party be encircled with a polygon line? (Default: FALSE, because messy with >10 parties.)


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