reflecter {arrowheadr} | R Documentation |
make a reflection of a matrix on the y axis
Description
Good for making symmetrical arrowheads
Usage
reflecter(x, add_reflection = TRUE)
Arguments
x |
matrix |
add_reflection |
add to x in reverse order |
Value
a matrix with y reversed sign and rows in reverse order
Examples
reflecter(diag(c(1,2)))
[Package arrowheadr version 1.0.1 Index]