使用 drc 包绘制剂量反应曲线时出错

问题描述

我正在尝试拟合四参数逻辑模型以使用 drc 包绘制剂量反应曲线。代码如下所示。尝试拟合如下模型时出现错误,请指导我解决问题,谢谢!

优化错误(startVec,opfct,hessian = TRUE,method = optMethod,control = list(maxit = maxIt,: 由 optim 提供的非有限值 drmOpt(opfct,opfct1,startVecSc,optMethod,constrained,warnVal,中的错误: 收敛失败

# growth inhibition = gi,concentration = conc
gi <- c("0","5.24","24.2","37.2","71.9","80","100","0","15.1","42.8","61.8","73.5","97.3","100")
conc <- c("0","167","278.89","465.74","777.79","1298.91","2169.19","2169.19" )
df <- data.frame(conc,gi)
print(df)
library("MASS")
library("stats")
library("drc")
# Fit a log-logistic model (LL.4) with lower and upper asymptotic limits fixed at respectively 0 and 100
x <- drm(gi ~ conc,data = df,fct = LL.4(fixed = c(NA,100,NA)))```

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...