Caroline Paulsen <cpaulsen <at> u.washington.edu> writes:

> 
> I'm attempting to run 250 permutations of a negative binomial GLM model for
> data on fish counts. Many of the models are fit appropriately, but some
> issue warnings such as "convergence not reached" or "step size truncated due
> to divergence." 
....
> I'd like to figure out a way to flag the models that have warnings and
> output them into either a table or into R console. Then I could evaluate the
> problems associated with these models and know not choose them as the best
> models for fitting the data.

You could promote the options to errors (?warning) and use try()

Dieter

______________________________________________
R-help@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.

Reply via email to