# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' The piecewise exponential distribution using the inverse CDF method
#'
#' @param n Number of observations to be generated.
#' @param fail_rate A data frame containing `duration` and `rate` variables.
#'
#' @noRd
#'
rpwexp_inverse_cdf_cpp <- function(n, fail_rate) {
.Call(`_simtrial_rpwexp_inverse_cdf_cpp`, n, fail_rate)
}
#' The piecewise exponential distribution using the naive method
#'
#' @param n Number of observations to be generated.
#' @param fail_rate A data frame containing `duration` and `rate` variables.
#'
#' @noRd
#'
rpwexp_naive_cpp <- function(n, fail_rate) {
.Call(`_simtrial_rpwexp_naive_cpp`, n, fail_rate)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.