[R] Help me: nls and try function
jim holtman
jholtman at gmail.com
Wed Aug 13 13:03:57 CEST 2008
For the first question, you have provided the answer --
try(nls(...)). Was there something else you wanted?
For part 2, this should work:
for (i in names(myData)[-1]){ # skip first column with "Time"
write.table(myData[, c("Time", i)], file=i)
}
> 1) How can use the function try in nls model:
>
> try(nls(...))
>
> 2) I have 100 colun with data and I want ro prepare 99 file with the first colun with the others
>
> Time A1 A2 A3 A4 AN.....
>
> I want to have 99 files with
> a)Time and A1
> b)Time and A2
> n) Time AN
>
> thanks for any help
> M
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help
mailing list