首页 > 解决方案 > Dabest:bca.ci 中的错误(boot.out,conf,index[1L],L = L,t = to,t0 = t0.o,:估计调整“w”是无限的

问题描述

我正在做一些加德纳 - 奥特曼图来估计我的植物在出苗后不同天数(DAE)的不同处理的生长速度。 我的情节之一 我的代码如下:

growth.rate33<-DAE33 %>%
        dabest(treatment, growth_rate,
               idx = c("ctrl", "PP-fb", "PP-fl", "PP-fg", "PES-fb", "PES-fl", "LDPE-fb", "LDPE-fl", "PVC-fl", "PVC-fg", "PS-fg", "di", "penta", "octa", "deca"), 
               paired=FALSE)

growth.rate.meandiff33<-mean_diff(growth.rate33)

D33PLOT<-plot(growth.rate.meandiff33,
              color.column = treatment,
              rawplot.ylabel = "Growth rate in cm/day",
              tick.fontsize = 8,
              axes.title.fontsize = 10,
              theme = ggplot2::theme_bw())

grid.arrange(D33PLOT, top = "Days 27-33")

我的代码工作了几天,但在其他一些日子(如上)运行“growth.rate.meandiff33<-mean_diff(growth.rate33)”部分后出现此错误:

Error in bca.ci(boot.out, conf, index[1L], L = L, t = t.o, t0 = t0.o,  : 
  estimated adjustment 'w' is infinite

我能做些什么来解决这个问题?(我是 R 的绝对初学者......)提前致谢,问候!

标签: r

解决方案


推荐阅读