[Rd] Suggestion for 'contrasts' help page

Kevin Wright kwright at eskimo.com
Thu Sep 4 13:19:40 MEST 2003


The help page for 'contrasts' has a mention of the 'options' in the Details
section.  Would it make sens to include an example of how to use options
to set the contrasts?

# Set contrasts for furhter computations
options(contrasts=c("contr.treatment","contr.poly"))


This seems useful to me.

Kevin Wright



More information about the R-devel mailing list