[R] a question on the use of 'solve'

From: Laura Antolini <laura.antolini_at_unimib.it>
Date: Tue, 12 Apr 2011 19:23:44 +0200


Dear R users,  

I am in trouble using the function  

solve(matrix)  

in a loop.  

When it happens that I have a singular matrix, I get an error message saying so and the loop stops.  

My question is if there in any way to keep on going in the loop.  

Thank you in advance,  

Laura      

*---------------------------------------------------------*

Laura Antolini, PhD

Department of Clinical Medicine and Prevention

University Milano-Bicocca

Monza - Italy

*---------------------------------------------------------*
     

        [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 12 Apr 2011 - 20:54:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Apr 2011 - 22:00:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive