Skip to content

Commit

Permalink
flip args
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Oct 8, 2024
1 parent 79a12aa commit 4bd6069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/primary_censored_dist.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ primary_censored_cdf.pcens_pweibull_dunif <- function(
t <- pmax(t, 0)
scaled_t <- (t * inv_scale)^shape
vapply(scaled_t, function(x) {
pracma::gammainc(x, 1 + inv_shape)["lowinc"]
pracma::gammainc(1 + inv_shape, x)["lowinc"]
}, numeric(1))
}

Expand Down

0 comments on commit 4bd6069

Please sign in to comment.