简体   繁体   English

r drc封装中的相关系数

[英]Correlation coefficient in r drc package

i want to find the correlation of the adjuste of the curve plotted and the data, anyone knows how to do that? 我想找到绘制的曲线和数据的被调整物的相关性,有人知道该怎么做吗?

library(drc)

S.alba.m1 <- drm(DryMatter~Dose, Herbicide, data = S.alba, fct = LL.4())
plot(S.alba.m1)

Use fitted : 使用fitted

cor(S.alba$DryMatter, fitted(S.alba.m1))

Also check out the modelFit function: ?modelFit for various tests. 还要签出modelFit函数: ?modelFit进行各种测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM