In R, we can use the following options for POST HOC, with Bonferroni P value
summary(glht(fit, linfct=mcp(variable="Tukey")),test=adjusted("Bonferroni"))
Based on my understanding the Bonferroni correction is alpha divided by the number of comparisons. It means we can use
summary(glht(fit, linfct=mcp(variable="Tukey")),test=adjusted("none"))
and compare the nonadjusted p value with alpha/number of test.
Now I was wondering how the first function adjusts the values as for correction we have to divide the alpha to the number of the test? Also are the two ways of analysis provide the same result?