# NOT RUN {
# Import your clustered data in the long format.
# For example:
data(SchneiderLong)
# Get the intermediate solution:
sol_yi <- eqmcc(SchneiderLong, outcome = "EXPORT",
conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
incl.cut1 = .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.eqmcc(results = sol_yi, data = SchneiderLong, outcome = "EXPORT", unit_id = "COUNTRY",
cluster_id = "YEAR", intermed = TRUE, sol = 2)
# }
Run the code above in your browser using DataLab