[R] What is the effect of how.many in the "contrast" function

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Feb 14 14:52:42 CET 2014


http://cran.r-project.org/web/packages/MASS/citation.html
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On February 13, 2014 11:04:46 PM PST, jimj <jimj at sfu.ca> wrote:
>Thanks Dr. I did read the help page but maybe I just don't understand
>enough
>about contrasts to take what I need from it. It says:
>
>"If value supplies more than how.many contrasts, the first how.many are
>used. If too few are supplied, a suitable contrast matrix is created by
>extending value after ensuring its columns are contrasts (orthogonal to
>the
>constant term) and not collinear."
>
>I suppose what this means is that if the matrix is not extended then
>there
>is some type of problem with orthogonality? Perhaps my real question
>should
>be, why is a contrast matrix with only one column not suitable. 
>
>Maybe I should read the book you are referring to. Can you provide a
>reference? Thanks!
>
>
>
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/What-is-the-effect-of-how-many-in-the-contrast-function-tp4685294p4685300.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list