Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] g_km fails with multiple max time records #1279

Closed
edelarua opened this issue Aug 7, 2024 · 2 comments · Fixed by #1280
Closed

[Bug Report] g_km fails with multiple max time records #1279

edelarua opened this issue Aug 7, 2024 · 2 comments · Fixed by #1280
Assignees
Labels
bug Something isn't working sme

Comments

@edelarua
Copy link
Contributor

edelarua commented Aug 7, 2024

When multiple records have estimates at max time, g_km fails with error:

Error in yval == “Survival” && data$estimate[data$time == max_time2] > : length = 2’ in coercion to ‘logical(1)’
@shajoezhu
Copy link
Contributor

hi @khatril , is this right though? can we have multiple records at t_max?

@edelarua , when this bug was flagged, was it from a single patient? or multiple?

Thanks

@edelarua
Copy link
Contributor Author

edelarua commented Aug 8, 2024

Hi @shajoezhu,

I’m not 100% sure this is the issue but based on the error message returned and the context from the post I think it’s likely this. If this outcome isn’t allowed I can add an error message instead. The post is on Roche Overflow if you’d like to read it over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants