Add an example where nls() fails to converge and the user needs to use try() and capture.output() along with trace=TRUE to capture an object that can be used in nlsTracePlot(). This methodology is described in the documentation but it would be clearer if the documentation had an example. A bad stock-recruitment data set would be the easiest to use for the illustration.
Add an example where
nls()
fails to converge and the user needs to usetry()
andcapture.output()
along withtrace=TRUE
to capture an object that can be used innlsTracePlot()
. This methodology is described in the documentation but it would be clearer if the documentation had an example. A bad stock-recruitment data set would be the easiest to use for the illustration.