plot.scfa {cfa}R Documentation

Plotting method for a scfa object

Description

Plots an object of the class scfa

Usage

## S3 method for class 'scfa'
plot(x,...)

Arguments

x

An object of the class scfa which is returned by the function cfa() (rather than scfa()) which performs a simple CFA (one column of counts)

...

Any arguments to be used by plot

Details

Plots chi squared vs. n which indicates pronouncedness of the configuration vs. practical importance. Configurations can be identified by left-clicking on them until the right mouse button is pressed. The labels of the configurations selected will be displayed in the text window.

Value

Returns a list of the labels of the configurations selected.

Note

This function is usually invoked plotting an object returned by cfa

Author(s)

Stefan Funke <s.funke@t-online.de>

References

None - plots have been rarely used with the CFA

See Also

cfa, scfa

Examples

# library(cfa) if not yet loaded
# Some random configurations:
configs<-cbind(c("A","B")[rbinom(250,1,0.3)+1],c("C","D")[rbinom(250,1,0.1)+1],
          c("E","F")[rbinom(250,1,0.3)+1],c("G","H")[rbinom(250,1,0.1)+1])
counts<-trunc(runif(250)*10)
plot(cfa(configs,counts))

[Package cfa version 0.10-1 Index]