Re: [R] trouble calculating rates--sometimes the denominator is missing

2010-03-11 Thread Christopher W. Ryan
Thanks! I think that will do the trick. I had not known of the match function before. Always learn something new on this list. --Chris Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 425 Robinson Street, Binghamton, NY 13904 cryanatbinghamtondotedu "If you

Re: [R] trouble calculating rates--sometimes the denominator is missing

2010-03-10 Thread jim holtman
Here is how you can do the lookup: > # lookup up the school > lkup <- read.table(textConnection("1'BENJAMIN FRANKLIN ES' 465 + 2'CALVIN COOLIDGE SCHL'379 + 3'EAST MS' 590 + 4'HORACE MANN SCHL'374 + 5'MAC ARTHUR SCHL'