Is there a way in R to control how factors are coded? It looks like reference cell coding is used by default. Is there a way to get effects coding? (I could just set up the factor dummy variables as I wish and use lm, but I'm wondering if there is a better way.) Thanks, --Paul