
Create an Array of Piecewise Hazard Ratios
Source:R/f_piecewise_survival_time_utilities.R
getPiecewiseHazardRatioArray.RdCombines one or more group-by-interval hazard-ratio matrices into an array with dimensions group by interval by situation.
Arguments
- ...
Matrices, or one named list of matrices. Each matrix contains groups in rows and piecewise survival intervals in columns.
- groupNames
Optional group names. Existing row names must agree in all matrices and with these names, including their order. Unnamed matrices are interpreted positionally.
- intervalNames
Optional interval names.