Skip to contents

Scale a vector

Usage

scale_vec(x, scale, divide)

Arguments

x

Numeric vector.

scale

Value to scale the vector(s) by. Defaults by 100

divide

If TRUE, divide the vector by the scale. Otherwise, multiply.