Description Usage Arguments Value Examples

Estimate difference of restricted mean survival based on (weighted) Kaplan-Meier estimates of the survival functions in each group.

1 |

`L` |
time-limit specifying up to which time restricted mean will be calculated |

`formula` |
an object of class '"formula"' specifying the conditional survival model |

`data` |
data frame containing the variables in formula |

`rr.subset` |
logical vector defining subset of observations to use for response rate estimation (default: use all observations) |

An object of class '"rmd"', i.e. a list containing:

`L` |
time limit, i.e. restricted mean up to time L is calculated |

`rmean1` |
restricted mean in group 1 |

`rmean2` |
restricted mean in group 2 |

`rmean.diff` |
estimated restricted mean difference |

`var.rmean1` |
an estimate of the asymptotic variance of the restricted mean in group 1 |

`var.rmean2` |
an estimate of the asymptotic variance of the restricted mean in group 2 |

`var.rmean.diff` |
an estimate of the asymptotic variance of the restricted mean difference |

`Z.rmean` |
the standardized test statistic for testing rmean.diff=0 |

`p.value` |
p-value corresponding to Z.rmean |

1 2 3 4 5 6 |

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.