Learn R Programming

landmulti (version 0.5.0)

s1: Identifier of the first short-term outcome

Description

Identifier of the first short-term outcome

Usage

s1(x)

Value

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

Arguments

x

the first short-term outcome

Details

This is a helperfunction used by multipredict() to identify the first short-term outcome. 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 first short-term outcome. See `Examples` section of multipredict() for more details.