mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 11:50:23 +01:00
fix?
This commit is contained in:
parent
c17b8add39
commit
2208858821
@ -160,6 +160,6 @@ df<-cbind(df,t)
|
|||||||
t<-c(NA,ifelse(abs(e-as.numeric(df[-1,2]))>=(e*cut),"include","drop"))
|
t<-c(NA,ifelse(abs(e-as.numeric(df[-1,2]))>=(e*cut),"include","drop"))
|
||||||
df<-cbind(df,t)
|
df<-cbind(df,t)
|
||||||
}}
|
}}
|
||||||
|
result<-df
|
||||||
return(df)
|
return(df)
|
||||||
}
|
}
|
||||||
|
@ -34,5 +34,5 @@ if (me=="pval"&log==TRUE){
|
|||||||
if (method=="cie"){
|
if (method=="cie"){
|
||||||
daDoctoR::cie_test(y=a,v1=b,string=s,data=dat,logistic=log,cut=ct)
|
daDoctoR::cie_test(y=a,v1=b,string=s,data=dat,logistic=log,cut=ct)
|
||||||
}
|
}
|
||||||
return(df)
|
return(result)
|
||||||
}
|
}
|
||||||
|
@ -86,6 +86,6 @@ if (!is.factor(y)){stop("Some kind of error message would be nice, but y should
|
|||||||
df<-rbind(df,cbind(pred,b,pv,t))
|
df<-rbind(df,cbind(pred,b,pv,t))
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
result<-df
|
||||||
return(df)
|
return(df)
|
||||||
}
|
}
|
||||||
|
@ -84,6 +84,6 @@ if (is.factor(y)){stop("Some kind of error message would be nice, but y should n
|
|||||||
|
|
||||||
df<-rbind(df,cbind(pred,b,pv,t))
|
df<-rbind(df,cbind(pred,b,pv,t))
|
||||||
}}
|
}}
|
||||||
|
result<-df
|
||||||
return(df)
|
return(df)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user