R/rzeta.R

Defines functions rzeta

Documented in rzeta

#' Generate random variates from a zeta distribution
#'
#' @param n Same as \code{\link[stats]{Poisson}}.
#' @param shape The positive shape parameter \deqn{s = \alpha - 1}{s = alpha - 1}.
#'
#' See \code{\link[VGAM]{rzeta}}.
#'
#' @export
rzeta = function(n, shape){
  VGAM::rzeta(n = n, shape = shape)
}

Try the fitPS package in your browser

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

fitPS documentation built on June 24, 2024, 9:09 a.m.