With an emphasis on social science applications, Event History Analysis with R presents an introduction to survival and event history analysis using real-life examples. Keeping mathematical details to a minimum, the book covers key topics, including both discrete and continuous time data, parametric proportional hazards, and accelerated failure times. Features A much-needed primer, Event History Analysis with R is a didactically excellent resource for students and practitioners of applied event history and survival analysis.
This looks to be a fairly good reference book, but there are some important points. First, some of the code is out-of-date. The author uses the "eha" package (which he wrote), but there have been changes to the package since the book came out, so some of the graphing does not work quite right. Second, some of the examples given in the book do not match what one gets doing the example. So if you are "following along" in R (like I did), you will get results that don't match those in the book, which is really quite annoying since you spend a lot of time looking for what you did wrong.
That said, it does explain the math of what is behind the functions, which is left out of a lot of how-to books in R and Python.