Skip to contents

Vector2 Subtract

Usage

vector2_subtract(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_subtract(c(100, 100), c(100, 100))
#> x y 
#> 0 0