Learn R Programming

algebraic.dist (version 0.9.1)

is_poisson_dist: Test whether an object is a poisson_dist.

Description

Test whether an object is a poisson_dist.

Usage

is_poisson_dist(x)

Value

TRUE if x inherits from "poisson_dist", FALSE otherwise.

Arguments

x

The object to test.

Examples

Run this code
is_poisson_dist(poisson_dist(5))
is_poisson_dist(normal(0, 1))

Run the code above in your browser using DataLab