We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code gives NaN hr:
NaN
library(gsDesign2) pw_info( enroll_rate = define_enroll_rate(duration = c(2, 10), rate = c(5, 20)), fail_rate = define_fail_rate(duration = c(6, 24, Inf), fail_rate = c(0.001, 0.05, 0), dropout_rate = 0.0001), total_duration = 40, ratio = 1 )
#> time stratum t hr event info info0 #> 1 40 All 0 1 146.2816 36.5704 36.5704 #> 2 40 All 30 NaN 0.0000 0.0000 0.0000
The solution is to get rid of the time duration with 0 events.
The text was updated successfully, but these errors were encountered:
pw_info
LittleBeannie
Successfully merging a pull request may close this issue.
The following code gives
NaN
hr:The solution is to get rid of the time duration with 0 events.
The text was updated successfully, but these errors were encountered: