Learn R Programming

landmulti (version 0.5.0)

s2: Identifier of the second short-term outcome

Description

Identifier of the second short-term outcome

Usage

s2(x)

Value

returns the input if this function is used directly. See `details` for more explanation

Arguments

x

the second short-term outcome

Details

This is a helperfunction used by multipredict() to identify the second short-term outcome. It should not be called directly. If used directly it will only return the input. Therefore it should not be called directly and only be used in the `formula` argument in multipredict() to identify the variable that is the second short-term outcome. See `example` section of multipredict() for more details.