Arith | R Documentation |
Arithmetic operations including low-level helper functions
disord_inverse(a)
disord_mod_disord(a,b)
disord_mod_numeric(a,b)
disord_negative(a)
disord_plus_disord(a,b)
disord_plus_numeric(a,b)
disord_power_disord(a,b)
disord_power_numeric(a,b)
numeric_power_disord(a,b)
disord_prod_disord(a,b)
disord_prod_numeric(a,b)
disord_arith_unary(e1,e2)
disord_arith_disord(e1,e2)
disord_arith_numeric(e1,e2)
numeric_arith_disord(e1,e2)
a , b |
at least one is a disord object |
e1 , e2 |
Formal arguments for S4 dispatch |
Basic low-level arithmetic operations, intended to be called from S4 dispatch.
These functions return a disord
object or a regular vector as
appropriate. Consistency is required. The hash is set to be that of
the disord object if appropriate.
Return a disord object or logical
signature(e1="disord", e2="disord")
:
Dispatched to disord_arith_disord()
signature(e1="disord", e2="numeric")
:
Dispatched to disord_arith_numeric()
signature(e1="numeric", e2="disord")
:
Dispatched to numeric_arith_disord()
signature(e1="disord", e2="missing")
:
Dispatched to disord_arith_unary()
Robin K. S. Hankin
a <- rdis()
a
a + 2*a
a > 5
a[a > 5] <- a[a > 5] + 100
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.