如下图中染料浓度和X重叠,如何进行修改???由图可知,这是一元一次方程,如何使其显示?如何显示R平方的值?
x<- c(0,10,20,30,40,50,60,70,80)
y<- c(0,0.33,0.605,0.897,1.115,1.394,1.687,1.954,2.198)
plot(x,y)
fit<- lm(y~x)
abline(fit,lwd=0.5)
title(main="标准曲线",xlab="染料浓度(mg/l)",ylab="吸光值")
x<- c(0,10,20,30,40,50,60,70,80)
y<- c(0,0.33,0.605,0.897,1.115,1.394,1.687,1.954,2.198)
plot(x,y)
fit<- lm(y~x)
abline(fit,lwd=0.5)
title(main="标准曲线",xlab="染料浓度(mg/l)",ylab="吸光值")
2019-02-23
举报