`model_specification`

object`identify_outcome.Rd`

`identify_outcome`

is a data descriptor function used to identify an outcome
variable and potentially supply a formula and estimation function.

`identify_outcome(name, formula = ~1)`

- name
The name of a variable in the input data to be used as a outcome time. This should be supplied as bare symbol not a character string. The outcome date should be in days from time 0.

- formula
A formula object that can be used to build the outcome model. Note this does not need to include treatment since the outcome models are fit within treatment groups. Default to a null model, ~1.

A object that can be used by specify_models to add information about the outcome to the data description function.