Learn R Programming

BTYDplus (version 0.4.0)

pggg.mcmc.plotRegularityRateHeterogeneity: Pareto/GGG Plot Regularity Rate Heterogeneity

Description

Plots and returns the estimated gamma distribution of k (customers' regularity in interpurchase times).

Usage

pggg.mcmc.plotRegularityRateHeterogeneity(draws, xmax = NULL, fn = NULL)

Arguments

draws

MCMC draws returned by pggg.mcmc.DrawParameters

xmax

upper bound for x-scale

fn

optional function to summarize individual-level draws for k, e.g. 'mean'