summary.OCobject: Optimal Classification Summary

View source: R/methods.R

summary.OCobjectR Documentation

Optimal Classification Summary

Description

summary.OCobject reads an Optimal Classification object and prints a summary.

Usage

## S3 method for class 'OCobject'
summary(object,verbose=FALSE,...)              

Arguments

object

an OCobject output object.

verbose

logical, includes all ideal points if TRUE, otherwise only returns the first 10 legislators.

...

other arguments do nothing and are not passed to any functions.

Value

A summary of a OCobject object.

Author(s)

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

See Also

'oc', 'plot.OCcoords', 'plot.OCskree', 'plot.OCangles', 'plot.OCcutlines', 'plot.OCobject'

Examples

    #This data file is the same as that obtained using:
    ## Not run: 
    data(sen90)
    sen90oc <- oc(sen90,dims=2,polarity=c(7,2)) 
	
## End(Not run)

    data(sen90oc)
    summary(sen90oc)
    plot(sen90oc)

oc documentation built on Feb. 16, 2023, 8:17 p.m.