Description Usage Arguments Details Examples
toggle the sign of an expression
1 | toggle.sign(x)
|
x |
expression |
'toggle.sign' changes the sign of an expression for '+' tp '-' and visa-versa.
1 2 3 4 5 6 7 | toggle.sign(1:3)
toggle.sign( quote(a) )
toggle.sign( quote(-a) )
exp <- expression( a, -b, -(a-b) )
toggle.sign(exp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.