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

Possible bug in cs2ic #14

Open
cwolock opened this issue Oct 11, 2023 · 0 comments
Open

Possible bug in cs2ic #14

cwolock opened this issue Oct 11, 2023 · 0 comments

Comments

@cwolock
Copy link

cwolock commented Oct 11, 2023

The cs2ic function seems to not work as intended when the eventOccurred argument is numeric (0s and 1s) rather than logical. I believe that the u[eventOccurred] and time[eventOccurred] indexing does not work. If eventOccurred consists of 0s and 1s, this indexing only pulls out the first entry. I think coercing eventOccurred to a logical would fix this.

Thanks! This package is super useful for me.

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

No branches or pull requests

1 participant