Kaplan Meier in R

Just a quick demo on creating Kaplan Meier estimation using R. Started working with one tutorial that didn’t work but then found something else. More complex example, so here is the basic code you will need.

The output is a Kaplan Meier survival curve.

Kaplan Meier Plot