I am trying to use smbinning package in R software to find optimal binnings to a certain variable. Running the command
result=smbinning(df=bop,y="FLAG_TARGET",x="VL_TOTL_REND",p=0.05)
returns the following error message:
"Target (y) not found or it is not numeric"
What is happening here? FLAG_TARGET
is numeric and I have already tried to change data format to integer but it does not work.
Is there a solution to this issue?