insightsengineering / insightsengineering/crane

Add `get_surv_times_df()`

Open
#268 0 comments 0 reactions 1 assignee Claimed by @jszczypinski View on GitHub
enhancement
Dominant language
R
Stars
15
Forks
7
Avg merge
6d 9h
Merged PRs (30d)
5

Description

### Feature description

This function will handle creation of df containing survival times data, which will be passed to `tbl_survfit_times()`.
Users will be able to modify the table before plotting it or annotating it to a plot created with `gg_km()`.

This follows the same desing idea as was described here for `get_cox_pairwise_df()` https://github.com/insightsengineering/crane/issues/207

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [x] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [x] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.