Function returns pooled, within, and between consistencies for an object of class "qca".
cluster.minimize(results, data, outcome, unit_id, cluster_id, sol = 1)
An object of class "qca". For performing cluster diagnostics of the sufficient solution for the negated outcome one must only use the minimize()
result from the sufficiency analysis of the negated outcome.
A data frame with column names in capital letters.
A character string with the name of the outcome in capital letters. When performing cluster
diagnostics of the sufficient solution for the negated outcome one must only use the minimize()
result from the sufficiency analysis of the negated outcome in the argument results
. Changing
the name in the argument outcome
or using a tilde is not necessary.
A character string with the name of the vector containing the units (i.e. countries).
A character string with the name of the vector containing the clustering units (i.e. years).
A numeric vector where the first number indicates the number of the solution according to the order in the "qca" object.
Garcia-Castro, A., Arino, M. A.. 2013. A General Approach to Panel Data Set-Theoretic Research. COMPASSS Working Paper 2013-76
# NOT RUN {
# Import your clustered data in the long format.
# For example:
data(SCHLF)
# Get the intermediate solution:
sol_yi <- minimize(SCHLF, outcome = "EXPORT",
conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
incl.cut = .9,
include = "?",
details = TRUE, show.cases = TRUE, dir.exp = c(0,0,0,0,0,0))
# Get pooled, within, and between consistencies for the second intermediate solution:
cluster.minimize(results = sol_yi, data = SCHLF, outcome = "EXPORT", unit_id = "COUNTRY",
cluster_id = "YEAR", sol = 2)
# }
Run the code above in your browser using DataLab