Skip to contents

Converts numeric proportion to formatted percentage

Usage

prop_to_percent(x, digits = 1)

Arguments

x

Numeric proportion (0-1)

digits

Number of decimal places

Value

Character string with percentage formatting