R/RcppExports.R

Defines functions pllik3_part_cpp dewp3_cpp_nv dewp3_cpp

Documented in dewp3_cpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' Probability mass function of the three-parameter EWP
#'
#' @param x vector of (positive integer) quantiles.
#' @param lambda centrality parameter
#' @param beta1 lower-tail dispersion parameter
#' @param beta2 upper tail dispersion parameter
#' @param sum_limit summation limit for the normalizing factor
#'
#' @return a probability mass
#' @export
dewp3_cpp <- function(x, lambda, beta1, beta2, sum_limit) {
    .Call(`_ewp_dewp3_cpp`, x, lambda, beta1, beta2, sum_limit)
}

dewp3_cpp_nv <- function(x, lambda, beta1, beta2, sum_limit) {
    .Call(`_ewp_dewp3_cpp_nv`, x, lambda, beta1, beta2, sum_limit)
}

pllik3_part_cpp <- function(X, lambda, beta1, beta2, sum_limit) {
    .Call(`_ewp_pllik3_part_cpp`, X, lambda, beta1, beta2, sum_limit)
}

Try the ewp package in your browser

Any scripts or data that you put into this service are public.

ewp documentation built on June 26, 2024, 5:08 p.m.