Learn R Programming

wnominate (version 1.4)

plot.scree: 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 scree
plot(x, main.title="Scree Plot", x.title="Dimension",
        y.title="Eigenvalue",...)

Value

A Scree plot, showing the first 20 eigenvalues.

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.

Author

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

Run this code
    #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)

Run the code above in your browser using DataLab