Learn R Programming

arrowheadr (version 1.0.2)

reflecter: make a reflection of a matrix on the y axis

Description

Good for making symmetrical arrowheads

Usage

reflecter(x, add_reflection = TRUE)

Value

a matrix with y reversed sign and rows in reverse order

Arguments

x

matrix

add_reflection

add to x in reverse order

Examples

Run this code
reflecter(diag(c(1,2)))

Run the code above in your browser using DataLab