Skip to content
Prev 363665 / 398502 Next

0 rows> (or 0-length row.names)

I see the printout (not an "error") that you describe on the 2nd example
you gave:
[1] GOODS BADS  TOTAL PCT_G PCT_B WOE   IV
<0 rows> (or 0-length row.names)

The result of WOETable is perfectly legal - it is a data.frame with no rows.

help(WOETable) says that the 'X' argument should be a "categorical variable
stored as factor" but the function does not check that that is true.  You
gave it a numeric (continuous) variable, case_age, and it misbehaved.  You
can turn case_age into a factor with the cut() function.

Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Aug 31, 2016 at 3:37 AM, Shivi Bhatia <shivipmp82 at gmail.com> wrote: