Description Usage Arguments Details Value Examples
That's it – these functions just square take the reciprocal/inverse of a vector.
1 2 3 | square(x, genplot = FALSE)
reciprocal(x, genplot = FALSE)
|
x |
The vector to be squared. |
genplot |
Generates and prints a plot of |
If you really want to see more, check out the internal pow
function that these functions depend on.
A vector that is the:
square (for square
)
reciprocal/inverse (for reciprocal
)
of x
.
1 2 3 | square(tenvec)
square(-5)
reciprocal(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.