问题描述
我无法使用 jtools' export_summs 函数对系数求幂。我想知道是否有可能以一种或另一种方式?
library(mice)
library(MASS)
library(jtools)
# creating a dataset and imputing it
y=sample(c(1:4,NA),size=50,replace=T)
y=as.ordered(x)
x=sample(c(1:4,replace=T)
d <- cbind(x,y)
mi_d <- mice(d,m=2,maxit=2)
# ordinal regression
mi_polr <- with(mi_d,polr(as.factor(y) ~ x,Hess=TRUE),method='logistic')
POOLED_P <- pool(mi_polr)
# exponientiating coefficients works fine when plotting
plot_summs(POOLED_P,exp=T)
#.. but not when exporting
jtools::export_summs(POOLED_P,exp=T)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)