r - add line to nls fit and plot -
i having problems adding line 1 scatter plot. data fit exponential model. used nls
coefficients:
fit <- nls(volumen ~ bo+ exp(b1*dap), data= df, start = list(bo=0, b1=55))
later used plot
, lines
commands visualize fit
data:
plot(dap,volumen) lines(dap,predict(fit,data.frame(x=dap)))
my big problem visualize linear line not fit exponential points.
could model statement have errors?
please, comments appreciate.
Comments
Post a Comment