over_times_column: Title check the column's value is not above ~10 times the...

Description Usage Arguments Value Examples

Description

Title check the column's value is not above ~10 times the highest value ever seen in the historical data

Usage

1
over_times_column(hdata, data, colName)

Arguments

hdata

historic data dataframe

data

dataframe

colName

column name to check in for the over range

Value

total rows that are over the given range

Examples

1
2
3
4
5
6
7
hnobleGasses <- data.frame(Gas=c("Helium","Neon", "Argon", "Krypton", "Xenon", "Radon", "Oganesson"),
Symbol=c("He","Ne","Ae","Kr","Xe","Rn","Og"), Nr=c(2,10,18,36,54,86,118),
Mass=c(4.003,20.18,39.948,83.8,131.293,222,294))
nobleGasses <- data.frame(Gas=c("Helium","Neon", "Argon", "Krypton", "Xenon", "Radon", "Oganesson"),
Symbol=c("He","Ne","Ae","Kr","Xe","Rn","Og"), Nr=c(2,10,18,36,54,86,118),
Mass=c(4.003,20.18,39.948,83.8,131.293,222,29400))
over_times_column(hnobleGasses, nobleGasses, "Mass")   # reutrns 1

pkchouhan14/customerChurnUU documentation built on May 28, 2019, 5:55 p.m.