mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-24 12:41:54 +01:00
fix
This commit is contained in:
parent
93bfc864e5
commit
70fdde4bc3
@ -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<-cbind(c(exp(coef(x)), exp(confint(x))))
|
mat<-cbind(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