compute_percent_rounded_digits: Compute the percent of rounded digits in a given dataframe....

View source: R/rounding_test.R

compute_percent_rounded_digitsR Documentation

Compute the percent of rounded digits in a given dataframe. Removes all 0 entries before begin.

Description

Compute the percent of rounded digits in a given dataframe. Removes all 0 entries before begin.

Usage

compute_percent_rounded_digits(data, rounding_patterns)

Arguments

data

The dataframe to analyze percent rounded digits on

rounding_patterns

The patterns to be counted as rounding digits.

  • An array of characters such as c('0','00','000','5','50','500', '75', '25').

  • n_zeros_pattern might be helpful for generating strings of 0s.

Value

The percentage of rounded digits in input data


jlederluis/digitanalysis documentation built on Nov. 5, 2023, 11:46 a.m.