# Preface

This is the place for the Preface to the Second Edition, which is not written yet. Instead, for the time being, I will try to keep you and myself updated about the ongoing work with the second edition. You will find the Preface to the First Edition ahead.

The First Edition was written with the aid of Sweave and LaTeX, but for the second edition I have switched to knitr and bookdown (with some support of LaTeX). So there has been a lot of work with translation from the former to the latter. For the moment, all Chapters are translated (but not polished). Adding new material and updating the old is on its way.

The first seven chapters are now (2020-11-28) in shape (in the first wave), work is now continuing on Chapter 8: Parametric Models. (I expect a major rewrite of this chapter). Chapters 7 and 8 (6 and 7 in the first edition) are swapped for a better logic flow.

This work is done in parallel with updating and expanding the eha package (Broström 2020), now in version 2.8.1.9998 (not released on CRAN, but available on gitHub).

The R session information when last compiling this book is shown below:

xfun::session_info()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Locale:
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=C
LC_TIME=sv_SE.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_NAME=C
LC_TELEPHONE=C
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=C

Package version:
base64enc_0.1.3 bookdown_0.21   compiler_4.0.3
digest_0.6.27   eha_2.8.1.9998  evaluate_0.14
glue_1.4.2      graphics_4.0.3  grDevices_4.0.3
grid_4.0.3      highr_0.8       htmltools_0.5.0
jsonlite_1.7.1  knitr_1.30      lattice_0.20-41
magrittr_2.0.1  markdown_1.1    Matrix_1.2-18
methods_4.0.3   mime_0.9        rlang_0.4.9
rmarkdown_2.5   rstudioapi_0.13 splines_4.0.3
stats_4.0.3     stringi_1.5.3   stringr_1.4.0
survival_3.2-7  tinytex_0.27    tools_4.0.3
utils_4.0.3     xfun_0.19       yaml_2.2.1     

### References

Broström, G. 2020. eha: Event History Analysis. http://ehar.se/r/eha/.