“Target (y) not found or it is not numeric” -Package smbinning - R
问题 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? 回答1: It is because bop is not a data frame, you have to convert bop