各位大神,求助,用Excel里的数据做nomogram,为什么运行到logistic回归会提示
Error in fitter(X, Y, offset = offs, penalty.matrix = penalty.matrix, :
外接函数调用时不能有NA/NaN/Inf(arg1)
程序如下:
mydata<-read.table("clipboard", header = T, sep = '\t')
> attach(mydata)
> ddist<-datadist(age,location,size)
> options(datadist='ddist')
> f<-lrm(y~age+location+size)
Error in fitter(X, Y, offset = offs, penalty.matrix = penalty.matrix, :
外接函数调用时不能有NA/NaN/Inf(arg1)