mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-21 19:30:22 +01:00
fix
This commit is contained in:
parent
8e26088326
commit
93bfc864e5
@ -18,6 +18,6 @@ comb_olr<-function(meas,vars,data){
|
|||||||
d2<-d[,c(meas,ad)]
|
d2<-d[,c(meas,ad)]
|
||||||
names(d2)[1]<-"meas"
|
names(d2)[1]<-"meas"
|
||||||
x<-polr(meas~.,data = d2,Hess = TRUE)
|
x<-polr(meas~.,data = d2,Hess = TRUE)
|
||||||
mat<-rbind(mat,c(exp(coef(x)), exp(confint(x))))
|
mat<-cbind(c(exp(coef(x)), exp(confint(x))))
|
||||||
return(data.frame(mat,stringsAsFactors = FALSE))
|
return(data.frame(mat,stringsAsFactors = FALSE))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user