+,hypr,hypr-method | R Documentation |
You can combine one or more hypr
objects, i.e. combine their hypothesis to a single hypr
object, by adding them with the +
or \*
operators.
## S4 method for signature 'hypr,hypr'
e1 + e2
## S4 method for signature 'hypr,hypr'
e1 * e2
## S4 method for signature 'hypr,hypr'
e1 & e2
## S4 method for signature 'hypr,hypr'
e1 / e2
e1, e2 |
|
The combined hypr
object
e1 * e2
: Interaction of e1
and e2
e1 & e2
: Interaction and main contrasts of e1
and e2
e1 / e2
: Nesting levels of e2
within e1
(h1 <- hypr(a~i, b~i)) # a hypr object of two treatments
(h2 <- hypr(i~0)) # an intercept-only hypr object
hc <- h1 + h2
hc
interaction <- h1 & h2
interaction_and_main <- h1 * h2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.