bcgroundwater icon indicating copy to clipboard operation
bcgroundwater copied to clipboard

Option to increase maximum number of iterations for makeWellTS?

Open steffilazerte opened this issue 6 years ago • 2 comments

makeWellTS returns a message indicating any problems with convergence (also, perhaps that should be message() rather than print()?).

Code 1 reflects the fact that the maximum number of iterations have been reached before convergence (According to the optim documentation). What about an argument allowing the user to pass options via optim.control in the call to StructTS? This should allow users to increase the maximum number of iterations if they need to.

steffilazerte avatar Mar 27 '18 21:03 steffilazerte

I think that's a good idea! Also if you think there's a better way to fill in the missing values, please feel free to suggest it.

ateucher avatar Mar 27 '18 22:03 ateucher

I hadn't really looked into dealing with missing values, the only reason I came up with this idea, is because I ran into the code 1 convergence warning :) I'll let you know if anything comes to me, though.

steffilazerte avatar Mar 27 '18 22:03 steffilazerte