dbetabinom_cpp: An Rcpp version of the 'dbetabinom'.

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

An Rcpp version of the dbetabinom.

Usage

1
dbetabinom_cpp(x, size, alpha_shape, beta_shape, return_log = FALSE)

Arguments

x

A numeric vector of the observed counts.

size

A numeric vector of the number of trials.

alpha_shape

A numeric scalar of the alpha parameter underlying beta.

beta_shape

A numeric scalar of the beta parameter of the underlying beta.

return_log

A logical scalar. Should we return the log of the density (TRUE) or not (FALSE)?

Author(s)

David Gerard


dcgerard/updogAlpha documentation built on May 14, 2019, 3:10 a.m.