Hi > > Dear group, > > I am trying to prepare a NONMEM friendly dataset for population PK > analysis. My patient IDs are 10 digit long and NONMEM is losing precison > and rouding the last couple of digits. I need to generate unique Patient > IDs fromt he current 10-digit IDs. Ihave total 250 subjects so I > appreciate if anybody can suggest me a way to code this in R.
I would start with ?abbreviate and check uniqueness with ?unique or ?duplicated Regards Petr > > Regards, > Ayyappa > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. ______________________________________________ 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.