Skip to contents

Vector2 Add

Usage

vector2_add(v1, v2)

Arguments

v1

A numeric vector of length 2.

v2

A numeric vector of length 2.

Value

A numeric vector of length 2

Examples

vector2_add(c(100, 100), c(100, 100))
#>   x   y 
#> 200 200