subject_specific_intensity_matrices: Calculate the subject specific intensity matrices
Description
For each subject, calculate a 3D array containing the states (from, to) in the
first two dimension and the times in the third.
This is then stored in a 4D array, with the 4th dimension indicating each unique subject.
Usage
subject_specific_intensity_matrices(
subject_specific_risks,
baseline_intensities,
trans
)