Multivariate Analysis of Variance in R vs SAS

MANOVA: Testing for group mean vectors are the same vs at least one is different

When applying the following hypothesis, SAS and R match identically see R and SAS.

However, if interest was in comparing 1 level of a parameter vs the others, this was only achieved using SAS. Contrast statements in SAS were easy to implement as shown here SAS however R did not replicate these results and to date a solution has not been found.

NOTE: if you feel you can help with the above discrepancy please contribute to the CAMIS repo by following the instructions on the contributions page.