Skip to content
Prev 153099 / 398500 Next

Help me: nls and try function

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)
}