On 23-04-2012, at 21:37, phillip03 wrote: > Thank you! > > Do you know why ifelse() sometimes returns "NULL" ? Please provide a reproducible example for this phenomenon. Berend