According to my modest understanding, the Cox model is all about estimating hazard ratios, relative measures of risk. However, it is possible (in R using e.g. the packages pec or peperr) to estimate absolute risks by a Cox model.
How is this done mathematically?