________________________________________
> The code below is used to generate interval censored data but unfortunately 
> there is an
> error with the ifelse which i am not able to rectify.
> Can somebody help correct it for me.

Not quickly.
But cut() might do a large part of what you need with a lot less faffing about; 
see ?cut

S Ellison*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}

______________________________________________
R-help@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.

Reply via email to