km function

Kaplan-Meier curve