Skip to contents

Vector2 Subtract Value

Usage

vector2_subtract_value(v, sub)

Arguments

v

A numeric vector of length 2.

sub

A number.

Value

A numeric vector of length 2

Examples

vector2_subtract_value(c(100, 100), 0.0)
#>   x   y 
#> 100 100