Asserts if the given input list is a list of Cumulative Incidence matrices.
Arguments
- x
(
list()
)
A list of CIF matrices, each one with dimensions (observations x times).- n_rows
(
numeric(1)
)
Expected number of rows of each matrix element of the input list.- n_cmp_events
(
numeric(1)
)
Expected number of competing events which is the number of elements in input CIF list.