Re: [R] Warning message in if else statement

2008-07-23 Thread Monica Pisica
lity – I would say. If I use > > > this function as it is …. No problems, if I incorporate inside a > > > different function so to be used internally I get the warning. Any > > idea > why?> >> > Thanks,> >> > Monica> >> >> >> >>

Re: [R] Warning message in if else statement

2008-07-23 Thread Monica Pisica
. If I use this function as it is …. No problems, if I incorporate inside a different function so to be used internally I get the warning. Any idea why? Thanks, Monica > Date: Wed, 23 Jul 2008 12:24:55 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: r-help@r-project.org &

Re: [R] Warning message in if else statement

2008-07-23 Thread Erik Iverson
Monica - Monica Pisica wrote: Hi, I am using an if else statement inside a function …. If I use that function I have no problems …. If I use the function with the if else statement inside a second function I get the following waring: Warning message: In if (pval == 0) p_value <- "< 2.2e-16" el

[R] Warning message in if else statement

2008-07-23 Thread Monica Pisica
Hi, I am using an if else statement inside a function …. If I use that function I have no problems …. If I use the function with the if else statement inside a second function I get the following waring: Warning message: In if (pval == 0) p_value <- "< 2.2e-16" else p_value <- pval : the con