Skip to content

Add expand.only option to return the expanded data without running models#151

Merged
remlapmot merged 2 commits intomainfrom
devel-2026-04-27
Apr 27, 2026
Merged

Add expand.only option to return the expanded data without running models#151
remlapmot merged 2 commits intomainfrom
devel-2026-04-27

Conversation

@remlapmot
Copy link
Copy Markdown
Collaborator

As per Alejandro's email I think we need this option.

SEQopts(expand.only = TRUE) makes SEQuential() return the expanded data.table immediately after expansion (and factorize), skipping weights, outcome modelling, KM/risk and bootstrap.

Obvs FALSE by default.

@remlapmot remlapmot requested a review from ryan-odea April 27, 2026 06:02
Copy link
Copy Markdown
Collaborator

@ryan-odea ryan-odea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! There is also the option of exposing SEQexpand. Although this is perhaps cleaner

@remlapmot
Copy link
Copy Markdown
Collaborator Author

Thanks Ryan - interesting point - yes I think exposing SEQexpand() would mean exposing some other stuff, so I'll leave this as is for now.

@remlapmot remlapmot merged commit 6c45444 into main Apr 27, 2026
7 checks passed
@remlapmot remlapmot deleted the devel-2026-04-27 branch April 27, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants