0

我无法使用jtoolsexport_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,NA),size=50, 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)

在此处输入图像描述

4

0 回答 0