# Why and when should we use the "consec" constrast method of emmeans function in R?

Can anyone tell me why and when should we use the "consec" contrast method of emmeans function (of emmeans package)? An exemple would help. thank you.

emmeans.out <- emmeans(model, consec ~ Time| Condition)

• consec is provided as a contrast family that some users may find useful. It generally does not make sense unless the factor in question has an implied natural ordering of its levels. So actually he example you give could be a good one, if your main focus is comparing changes overtime increments. The usefulness of any method depends in great part on the scientific context. Aug 5, 2021 at 15:20

For example, a drug experiment may have a factor dose, perhaps with levels 10, 20, 40, and 60, being the available ones from the drug manufacturer. Comparing successive doses answers questions about what happens if we increase the dose to the next level, and it seems reasonable to have those comparisons as a set of pre-planned contrasts.