twophase function

Two-phase designs