From page 26, chapter 2 of the reference "Tableman, M., & Kim, J. S. (2003). Survival analysis using S: analysis of time-to-event data. CRC press", I have found the definition of the empirical survivor function (esf) is
S(t) = (number of individuals > t)/n .
But from page 80, chapter 3 of...