diff --git a/demo/iv.demo.r b/demo/iv.demo.r index 92a3099..93be3e5 100644 --- a/demo/iv.demo.r +++ b/demo/iv.demo.r @@ -1,15 +1,15 @@ # Get summary IV for data frame -iv.mult(german_data,"gbbin",summary=TRUE) +iv.mult(german_data,"gb",summary=TRUE) # Plot summary IV for data frame -iv.plot.summary(iv.mult(german_data,"gbbin",summary=TRUE)) +iv.plot.summary(iv.mult(german_data,"gb",summary=TRUE)) # Plot WoE patterns for individual variables -iv.plot.woe(iv=iv.mult(german_data,"gbbin",vars=c("age","mob","ca_status"))) +iv.plot.woe(iv=iv.mult(german_data,"gb",vars=c("age","duration","ca_status"))) # Plot WoE patterns for all variables -iv.plot.woe(iv=iv.mult(german_data,"gbbin")) +iv.plot.woe(iv=iv.mult(german_data,"gb")) # Transform raw variables to WoE (creates new columns [original_column_name]_woe) -str(iv.replace.woe(german_data,iv.mult(german_data,"gbbin"))) \ No newline at end of file +str(iv.replace.woe(german_data,iv.mult(german_data,"gb"))) \ No newline at end of file