Description Usage Arguments Value

This internal function fits a generalized linear model (GLM) for the outcome variable using the observed data.

1 2 3 4 5 6 7 8 9 | ```
pred_fun_Y(
model,
yrestrictions,
outcome_type,
outcome_name,
time_name,
obs_data,
model_fits
)
``` |

`model` |
Model statement for the outcome variable. |

`yrestrictions` |
List of vectors. Each vector containins as its first entry
a condition and its second entry an integer. When the
condition is |

`outcome_type` |
Character string specifying the "type" of the outcome. The possible "types" are: |

`outcome_name` |
Character string specifying the name of the outcome variable in |

`time_name` |
Character string specifying the name of the time variable in |

`obs_data` |
Data on which the model is fit. |

`model_fits` |
Logical scalar indicating whether to return the fitted models. The default is |

Fitted model for the outcome variable.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.