Thanks Ted, it's exactly what I'm after. Thanks for the help. -- View this message in context: http://n4.nabble.com/Conditional-Sampling-tp1012072p1012180.html Sent from the R help mailing list archive at Nabble.com.