Re: [R] non linear regression with nls

2009-02-06 Thread lauramorg...@bluewin.ch
Thank you! It worked perfectly, also for the other variables! Messaggio originale Da: r...@life.ku.dk Data: 06.02.2009 13.29 A: Oggetto: Re: [R] non linear regression with nls Hi Laura, I think you have to make a list formulas: formList <- list(NT.N ~ fz1(Portata, a, b), NT.N ~

Re: [R] non linear regression with nls

2009-02-05 Thread lauramorg...@bluewin.ch
e how can someone specify the groups/subset? Thanks a lot! Laura Messaggio originale Da: kfr...@wisc.edu Data: 03.02.2009 15.36 A: Oggetto: Re: [R] non linear regression with nls Hi, Laura- You might have a look at ?nlsList(). Ken - Original Message - From: "

Re: [R] non linear regression with nls

2009-02-05 Thread lauramorg...@bluewin.ch
ent ## notice that the i'th list components in fctList and startList ## are used for the i'th fit resultList[[i]] <- nls(NT.N ~ fctList[[i]](parList[[i]]), data=subset(dati, Fiume=="Laveggio"), start=startList [[i]], nls.control(maxiter=200), algorithm='port&#x

[R] non linear regression with nls

2009-02-03 Thread lauramorg...@bluewin.ch
Hello, I'm a beginner with R and it's the first time I'm using the R-help list... I hope I'm in the right place, if not: Sorry!! I need to do non linear regressions on a data set which columns are: "river.name""Portata" "PTG.P" "PO4.P" "NT.N""NH4.N" "NO3.N" "BOD5""SiO2"