operations | R Documentation |
Operations on formula terms and expressions
## S4 method for signature 'lgprhs,lgprhs'
e1 + e2
## S4 method for signature 'lgpterm,lgpterm'
e1 + e2
## S4 method for signature 'lgprhs,lgpterm'
e1 + e2
## S4 method for signature 'lgpterm,lgpterm'
e1 * e2
e1 |
The first sum, term or expression |
e2 |
The second sum, term or expression |
The behaviour and return type depend on the types of e1
and e2
.
You can
sum (+
) two lgprhs's to yield an
lgprhs
sum (+
) two lgpterm's to yield an
lgprhs
sum (+
) an lgprhs and an lgpterm
to yield an lgprhs
multiply (*
) two lgpterm's to yield
an lgpterm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.