Learn R Programming

cfa (version 0.10-1)

plot.mcfa: Plotting method for a mcfa object

Description

Plots an object of the class mcfa

Usage

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

Value

Returns a list of the labels of the configurations selected.

Arguments

x

An object of the class mcfa which is returned by the function cfa() (rather than mcfa()) which performs a repeated measures CFA (two or more columns of counts)

...

Any arguments to be used by plot

Author

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

Details

Plots chi squared vs. the sum of all counts for this configuration 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, mcfa

Examples

Run this code
# 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])
counts1<-trunc(runif(250)*10)
counts2<-trunc(runif(250)*10)

plot(cfa(configs,cbind(counts1,counts2)))

Run the code above in your browser using DataLab