the type of prediction desired. Options are the survival curve for the time points selected by mtlr ("survivalcurve"), the
survival curve for given times ("prob_times"), the probability of survival at the observations event time ("prob_event"),
the mean survival time ("mean_time"), and the median survival time ("median_time").
For "survivalcurve" and "prob_times", the first column of the matrix returned will correspond to the time points and all other columns will be
the observations survival probability at those associated time points. The index of a (row) observation in newdata will correspond
to the ith + 1 column of the returned matrix.
If "prob_event" is chosen the response (event time) is required. For both "prob_event" and "prob_times", if the event time is larger
than all of the time points used to build the mtlr model then the last (lowest) probability is used. For example, if the event time is
100 but the largest time point estimated by the mtlr model was 80 then the survival probability at 100 is equal to the survival
probability at 80, i.e. S(100) = S(80).
For "mean_time", if survival curves do not extend to zero survival
probability a linear extension is added (a linear line from (time = 0,probability = 1) to (time = ?, probability =0)). This is the
same for "median_time" except the line need only extend to survival probability = 0.5.
A mean/median survival time of Inf is returned for survival curves with all survival probabilities of 1.