Learn R Programming

distributions3 (version 0.1.1)

suff_stat.Gamma: Compute the sufficient statistics for a bernoulli distribution from data

Description

  • sum: The sum of the data.

    • log_sum: The log of the sum of the data.

    • samples: The number of samples in the data.

Usage

# S3 method for Gamma
suff_stat(d, x, ...)

Arguments

d

A Gamma object created by a call to Gamma().

x

A vector to fit the Gamma distribution to.

...

Unused.

Value

a Gamma object