stats_margin: Create a fixed margin from a stats distribution
Description
stats_margin() adapts the univariate distributions documented in
stats::Distributions to the fitted-margin protocol. Distribution
parameters are supplied through ...; the resulting margin reports the
distribution's parameter count but has no fitted log-likelihood.
Usage
stats_margin(family, ...)
Value
A fixed margin implementing the margin protocol.
Arguments
family
distribution suffix such as "norm", "pois", or "binom".
...
parameters passed to the distribution's density, CDF, and quantile
functions.