Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions R/pw_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ pw_info <- function(

# get the change points of the piecewise exp for the failure rates
fr_change_point <- fail_rate_s$duration
# make the last change point into around 1e6
i <- is.finite(fr_change_point)
fr_change_point <- c(
if (all(i)) head(fr_change_point, -1) else fr_change_point[i],
max(total_duration) + 1e6
)
fr_cumsum <- cumsum(fr_change_point)

for (td in total_duration) {
Expand Down
Loading