[R] one function with 2 returnh points

2010-10-30 Thread Alaios
Hello everyone. I have written quite a big function that at the end correctly returns the values I want. I found a rare exception that I want to cover also. The easier for me would be to write something like that function(){ if (rare exception happened) return that value # The

Re: [R] one function with 2 returnh points

2010-10-30 Thread Liviu Andronic
On Sat, Oct 30, 2010 at 11:09 AM, Alaios ala...@yahoo.com wrote: Hello everyone. I have written quite a big function that at the end correctly returns the values I want. I found a rare exception that I want to cover also. The easier for me would be to write something like that function(){

Re: [R] one function with 2 returnh points

2010-10-30 Thread Alaios
Thanks a lot :) From: Liviu Andronic landronim...@gmail.com Cc: Rhelp r-help@r-project.org Sent: Sat, October 30, 2010 11:31:35 AM Subject: Re: [R] one function with 2 returnh points Hello everyone. I have written quite a big function that at the end