Re: [R] summary of a list

2009-02-13 Thread lauramorg...@bluewin.ch
Thank you a lot!!! That was fantastic! It worked perfectly!!! Laura Hi Laura, try using the functions try() and inherits() to "catch" any errors in the loop: summaryList <- list() for (i in 1:35) { tempSummary <- try(summary(resultList[[i]]), silent = TRUE) if (inherits(tempSummary, "tr

Re: [R] summary of a list

2009-02-13 Thread David Winsemius
?try -- David Winsemius On Feb 13, 2009, at 3:06 AM, lauramorg...@bluewin.ch wrote: Hello Dieter and everyone, Thank you for your advice... but I didn't manage to solve my problem... :-( I actually like the fact that R tells me which ones of my regressions didn't achieve convergence a

Re: [R] summary of a list

2009-02-13 Thread lauramorg...@bluewin.ch
Hello Dieter and everyone, Thank you for your advice... but I didn't manage to solve my problem... :-( I actually like the fact that R tells me which ones of my regressions didn't achieve convergence and gives me a warning saying that there was a false or singular convergence... the problem is t

Re: [R] summary of a list

2009-02-10 Thread Dieter Menne
lauramorgana bluewin.ch bluewin.ch> writes: > > Hello, > I'm using the following for loop to find regression curves using a list of functions (formList), a list of .. long non-reproducible code removed > And I got the following error message: > Error in chol2inv(object$m$Rmat()) : l'elemento

[R] summary of a list

2009-02-10 Thread lauramorg...@bluewin.ch
Hello, I'm using the following for loop to find regression curves using a list of functions (formList), a list of starting values (startList), uppervalues (upperList) and lower values (lowerList). A sample of the list of function I use in the loop is the following: FormList <- list(PTG.P ~ fz1(P