Skip to contents

Calculate the relative proportion of the items of a given vector

Usage

relative_proportion(x)

Arguments

x

Vector of length 3

Value

A normalized unit vector of length 3