Skip to content

Using tryCatch in a for loop

1 message · Bert Gunter

#
(practically) ALWAYS respond to the list. I have cc'ed them here.

Others may (almost always do!) have greater insight/better answers than I.

In this case, I have no clue, but presumably your call is wrong, but as I
have no experience with the segmented.lm function, I don't care to track
down how exactly. Your tryCatch call seems to be fine, however.

-- Bert





Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Tue, May 22, 2018 at 11:30 AM, Bailey Hewitt <bailster at hotmail.com>
wrote: