Function to identify the longest follow-up in the group with shortest follow-up
Examples
mccOutput <- mcc(data = mcc_events,
idvar = "id",
timevar = "time",
eventvar = "event",
grpvar = "grp",
weightvar = "weight")
minmax(mccOutput)
#> minmax
#> <num>
#> 1: 5
