contr.wec function

Function calculates contrasts for a factor variable based on weighted effect coding.