Description Usage Arguments Value See Also Examples

Computes the likelihood ratio test statistic. Not to be called directly by the user.

1 |

`f1` |
a two-sided formula of the fitted survival model, without the longitudinal outcome in the right side of the formula. |

`f2` |
a two-sided formula of the fitted survival model, same as |

`data` |
a data.frame containing the covariates in both |

`stable` |
a parameter, see also |

`cov.max` |
a parameter, see also |

The likelihood ratio test statistic.

1 2 3 4 | ```
data(data_timevar);
f1 <- Surv(time_L, time_Y, delta)~X3+X4+X5;
f2 <- Surv(time_L, time_Y, delta)~y+X3+X4+X5;
get_lrt(f1, f2, data_timevar);
``` |

jlctree documentation built on April 15, 2021, 5:06 p.m.

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.