suff_stat.Poisson: Compute the sufficient statistics of an Poisson distribution...

View source: R/Poisson.R

suff_stat.PoissonR Documentation

Compute the sufficient statistics of an Poisson distribution from data

Description

Compute the sufficient statistics of an Poisson distribution from data

Usage

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

Arguments

d

An Poisson object created by a call to Poisson().

x

A vector of data.

...

Unused.

Value

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

  • sum: The sum of the data.

  • samples: The number of samples in the data.


distributions3 documentation built on Sept. 7, 2022, 5:07 p.m.