suff_stat.Binomial: Compute the sufficient statistics for the Binomial...

View source: R/Binomial.R

suff_stat.BinomialR Documentation

Compute the sufficient statistics for the Binomial distribution from data

Description

Compute the sufficient statistics for the Binomial distribution from data

Usage

## S3 method for class 'Binomial'
suff_stat(d, x, ...)

Arguments

d

A Binomial object.

x

A vector of zeroes and ones.

...

Unused.

Value

A named list of the sufficient statistics of the Binomial distribution:

  • successes: The total number of successful trials.

  • experiments: The number of experiments run.

  • trials: The number of trials run per experiment.


alexpghayes/distributions documentation built on Feb. 10, 2024, 9:50 a.m.