View source: R/multicomp.reverse.R
multicomp.reverse | R Documentation |
Force all comparisons in a "multicomp"
object
to have the same sign. If the contrast "A-B"
has a negative estimate,
reverse it show the contrast "B-A"
with a positive estimate.
If a contrast name does not include a minus sign "-"
and the
contrast is reversed, then an informative message is printed.
multicomp.reverse(y, estimate.sign = 1, ...)
y |
|
estimate.sign |
If |
... |
other arguments not used. |
The result is a "multicomp"
object containing the same contrasts
as the argument but with the sign of the contrasts changed as needed.
S-Plus use the multicomp
functions and R uses the multcomp
package.
Richard M. Heiberger <rmh@temple.edu>
Heiberger, Richard M. and Holland, Burt (2015). Statistical Analysis and Data Display: An Intermediate Course with Examples in R. Second Edition. Springer-Verlag, New York. https://link.springer.com/book/10.1007/978-1-4939-2122-5
Heiberger, Richard M. and Holland, Burt (2006). "Mean–mean multiple comparison displays for families of linear contrasts." Journal of Computational and Graphical Statistics, 15:937–955.
MMC
, multicomp.order
## see example in multicomp.order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.