Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.mcfa

Plotting method for a mcfa object


Description

Plots an object of the class mcfa

Usage

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

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

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.

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

Examples

# 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)))

cfa

Configural Frequency Analysis (CFA)

v0.10-0
GPL (>= 2)
Authors
Patrick Mair [aut, cre], Stefan Funke [aut], Joachim Harloff [ctb], Alexander von Eye [ctb]
Initial release
2017-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.