roundPropCategorical: Rounds a proportions

View source: R/reformatResults.R

roundPropCategoricalR Documentation

Rounds a proportions

Description

Round a vector by number of digits. If the rounding result is greater than 100, rescale to 100

Usage

roundPropCategorical(data, digits = 0)

Arguments

data

A numeric vector or CrunchCube object

digits

The number of trailing digits


Crunch-io/crunchtabs documentation built on Aug. 19, 2024, 9:23 p.m.