Skip to contents

Vector2 Add Value

Usage

vector2_add_value(v, add)

Arguments

v

A numeric vector of length 2.

add

A number.

Value

A numeric vector of length 2

Examples

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