Learn R Programming

algebraic.dist (version 0.9.1)

is_beta_dist: Test whether an object is a beta_dist.

Description

Test whether an object is a beta_dist.

Usage

is_beta_dist(x)

Value

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

Arguments

x

The object to test.

Examples

Run this code
is_beta_dist(beta_dist(2, 5))
is_beta_dist(normal(0, 1))

Run the code above in your browser using DataLab