Description Usage Arguments Value Author(s) See Also Examples

`tccov`

creates a vector of length `sum(y)`

of time-constant
covariates for use with `ehr`

. `id`

must be numbered
consecutively. `x`

must have one value for each distinct `id`

,

1 | ```
tccov(y, x, id)
``` |

`y` |
Vector of times. |

`x` |
Vector covariate. |

`id` |
Vector of corresponding individual identifiers for who had which sequence of times. |

`tccov`

creates a vector of length `sum(y)`

of time-constant
covariates for use with `ehr`

. `id`

must be numbered
consecutively. `x`

must have one value for each distinct `id`

,

J.K. Lindsey

`bp`

, `ehr`

,
`ident`

, `pp`

,
`tpast`

, `ttime`

,
`tvcov`

.

1 2 3 4 5 |

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.