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.


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