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

plot.scfa

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

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

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.