find_percent_repeats: Finds the percent of repeats in the given data based on given...

View source: R/repeat_test.R

find_percent_repeatsR Documentation

Finds the percent of repeats in the given data based on given definition of a repeat (what columns need to match)

Description

Finds the percent of repeats in the given data based on given definition of a repeat (what columns need to match)

Usage

find_percent_repeats(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

The percentage of repeated numbers in input data


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