AutoCompleteTable: 'AutoCompleteTable' Asks for a data.table, a vector of...

Description Usage Arguments

View source: R/Encontrar_candidatos_dataset_v1.R

Description

AutoCompleteTable Asks for a data.table, a vector of collumn indices and the goal collumn and returns the data frame with the values filled

Usage

1
2
AutoCompleteTable(df, goal, maxi, repetitions, trigger = 1,
  ratio = 0.99)

Arguments

df

A data.table with the missing values you wish to fill

goal

The collum with the missing values you wish to fill

maxi

What will be the length of possible combinations you will test example if 2 they will test up to all possible pairs of collums

repetitions

Measure of error, the bigger the less likely you will get the right prediction

trigger

When you pair all possible combination of tuples a percentage of them will show only once, trigger rejects the set if this percentage is higher than this value

ratio

Rejects collumns that the ratio of unique values to total values is higher than this value, primary keys have ratio equal to 1


cleanerR documentation built on May 2, 2019, 5:51 a.m.