brier function from survival library is not working on my cox model
I’ve been trying to compute brier score for several time points in order to make a plot of this metric but brier function from survival package is not working. Please see below my code: