Learn R Programming

cfa (version 0.10-1)

plot.scfa: Plotting method for a scfa object

Description

Plots an object of the class scfa

Usage

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

Value

Returns a list of the labels of the configurations selected.

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

Author

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

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.

References

None - plots have been rarely used with the CFA

See Also

cfa, scfa

Examples

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

Run the code above in your browser using DataLab