omit_rounded_numbers: Omits the numbers that are qualified as rounded numbers...

View source: R/repeat_test.R

omit_rounded_numbersR Documentation

Omits the numbers that are qualified as rounded numbers specified by rounding_patterns_to_omit.

Description

Omits the numbers that are qualified as rounded numbers specified by rounding_patterns_to_omit.

Usage

omit_rounded_numbers(data, data_column, rounding_patterns_to_omit)

Arguments

data

The The dataframe to compute percent repeat on

data_column

The data column to omit rounding numbers upon. Must be a single column.

rounding_patterns_to_omit

The patterns to be counted as rounding digits to skip. Defaulted to NA.

  • 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

data without round numbers.


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