[R] How to fix an error in nonlinear regression
Vahid Borji
v@h|d@borj|65 @end|ng |rom gm@||@com
Wed May 27 21:43:20 CEST 2020
Hello my R friends,
I am using the below commands in R:
attach(Puromycin)
Puromycin
plot(Puromycin$conc,Puromycin$rate)
mm=function(conc,vmax,k) vmax*conc/(k+conc)
mm
mm1=nls(rate~mm(conc,vmax,k),data=Puromycin,start=c(vmax=50,k=0.05),subset=state==”treated”)
mm1
Unfortunately, I receive the below error:
Error: unexpected input in
"mm1=nls(rate~mm(conc,vmax,k),data=Puromycin,start=c(vmax=50,k=0.05),subset=state==”"
How can I fix this error?
[[alternative HTML version deleted]]
More information about the R-help
mailing list