digitise function

Format digitised data for use in survival analysis