plot.scree: W-NOMINATE Scree Plot

View source: R/methods.R

plot.screeR Documentation

W-NOMINATE Scree Plot

Description

plot.scree is the function that takes a W-NOMINATE object and plots a Scree plot. Scree plots show the dimensionality of the voting by showing the sizes of the eigenvalues.

Usage

## S3 method for class 'scree'
plot(x, main.title="Scree Plot", x.title="Dimension",
        y.title="Eigenvalue",...)

Arguments

x

a wnominate output object.

main.title

string, Skree plot title.

x.title

string, x-axis label.

y.title

string, y-axis label.

...

other arguments to plot.

Value

A Scree plot, showing the first 20 eigenvalues.

Author(s)

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

See Also

'wnominate', 'plot.coords', 'plot.cutlines', 'plot.angles', 'plot.nomObject'

Examples

    #This data file is the same as that obtained using:
    #data(sen90)
    #sen90wnom<-wnominate(sen90,polarity=c(2,5))
    data(sen90wnom)

    summary(sen90wnom)
    plot.scree(sen90wnom)
    plot(sen90wnom)

wnominate documentation built on April 26, 2023, 9:12 a.m.