createSurvivalFrame

somebody else write this, and I found this online , this is an awesome function can transform the survival results into the form you need for survival