if (FALSE) {
data(mimicry, package = "factorH")
# One factor (KW-style check)
srh.kway(liking ~ condition, data = mimicry)
# Two factors (Type II by default)
srh.kway(liking ~ gender + condition, data = mimicry)
# Three factors
srh.kway(liking ~ gender + condition + age_cat, data = mimicry)
# Type III SS (with sum-to-zero contrasts set locally)
srh.kway(liking ~ gender + condition, data = mimicry, type = 3)
}
Run the code above in your browser using DataLab