powered by
Generic function to format a dataset for hazard ratio calculation
internal.hazard(model, params, cache)