[R] problem with ifelse

S Ellison S.Ellison at LGCGroup.com
Thu May 31 01:27:52 CEST 2012


________________________________________
> 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}}



More information about the R-help mailing list