mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 11:50:23 +01:00
u
This commit is contained in:
parent
512ac511a3
commit
cac6172dd6
@ -66,6 +66,8 @@ rep_olr<-function(meas,vars,string,ci=FALSE,data){
|
|||||||
dat<-cbind(dt,x[,i])
|
dat<-cbind(dt,x[,i])
|
||||||
m<-polr(y~.,data=dat,Hess=TRUE)
|
m<-polr(y~.,data=dat,Hess=TRUE)
|
||||||
|
|
||||||
|
ctable <- coef(summary(m))
|
||||||
|
|
||||||
b<-round(coef(m)[-c(1:m1)],2)
|
b<-round(coef(m)[-c(1:m1)],2)
|
||||||
|
|
||||||
p <- (pnorm(abs(ctable[, "t value"]), lower.tail = FALSE) * 2)[1:length(coef(m))]
|
p <- (pnorm(abs(ctable[, "t value"]), lower.tail = FALSE) * 2)[1:length(coef(m))]
|
||||||
|
Loading…
Reference in New Issue
Block a user