Skip to contents

Return a compatible vector of length nlevels(x) + 1 to print the percentages of each level of a factor

Usage

percent(x)

Arguments

x

A factor

Value

A nlevels(x) + 1 length vector of percentages