Skip to contents

Fit a Bernoulli distribution to data

Usage

# S3 method for class 'Bernoulli'
fit_mle(d, x, ...)

Arguments

d

A Bernoulli object.

x

A vector of zeroes and ones.

...

Unused.

Value

a Bernoulli object