td.RdA simple identity function that returns the input as is. This function is typically used as a placeholder or for specific purposes like indicating time-dependent variables in model formulas.
td(x)A vector or object that is returned unchanged.
The same value as the input.
The `td` function does not modify the input value and simply returns it. It can be used in situations where a time-dependent covariate is needed in model formulas, typically in survival analysis models.