[R] function inside ifelse

Grześ gregorio99 at gmail.com
Mon Jun 15 16:39:10 CEST 2009


Hi,

Could you tell me, if it's possible to create ifelse and put function
inside, for example:

code{
ifelse ((is.na(vek)), call_fun_1(arguments), call_fun_2(arguments))

call_fun_1 <- function(arguments)
{ sth...
}
}
-- 
View this message in context: http://www.nabble.com/function-inside-ifelse-tp24035739p24035739.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list