is_beta_distr: Determine if the object is a valid beta distribution, as...

View source: R/is_distr.R

is_beta_distrR Documentation

Determine if the object is a valid beta distribution, as created by create_beta_distr

Description

Determine if the object is a valid beta distribution, as created by create_beta_distr

Usage

is_beta_distr(x)

Arguments

x

an object, to be determined if it is a valid beta distribution,

Value

TRUE if x is a valid beta distribution, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

use is_distr to see if x is any distribution

Examples

check_empty_beautier_folder()

# TRUE
is_beta_distr(create_beta_distr())
# FALSE
is_beta_distr(create_exp_distr())
is_beta_distr(NA)
is_beta_distr(NULL)
is_beta_distr("nonsense")

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.