df_term function

Calculate degree of freedom of a modelterm (contrast) for a lmer model