cna performs a Coincidence Analysis (CNA).
See Baumgartner (2009a, 2009b) for a detailed desription and discussion of the methodology.cna(x, ordering = NULL, strict = FALSE, con = 1, cov = 1,
maxstep = 5, suff.only = TRUE)## S3 method for class 'cna':
print(x, what = "mac", digits = 3, nsolutions = 5,
row.names = FALSE, ...)
truthTab is initially applied to x.ordering defines a causal ordering of the factors in x as a list of character vectors containing the factor names.
For example, ordering = list(c("A", "B"), "C") postulates that A and B are TRUE factors on the same level of the causal ordering are potential causes of each other.TRUE the function only finds minimally neccessary conditions and does not search for atomic and complex solution formulas.what contains a tmaprint.data.frame.cna returns an object of class cna first finds all minimally necessary conditions (msc) according to con,
and then searches for disjunctions of these msc that are minimally necessary according to cov, the atomic solution formulas (asf).
The search for atomic solution formulas is effected as follows:
In a first step, the msc themselves are considered, in a second step disjunctions of two msc, then of three, etc.
The argument maxstep defines the number of such steps to be carried out, i.e. disjunctions of up to maxstep msc are examined as potential asf.cna package is given in cna-package.