is_exp_distr: Determine if the object is a valid exponential distribution...

View source: R/is_distr.R

is_exp_distrR Documentation

Determine if the object is a valid exponential distribution as created by create_exp_distr

Description

Determine if the object is a valid exponential distribution as created by create_exp_distr

Usage

is_exp_distr(x)

Arguments

x

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

Value

TRUE if x is a valid exponential 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_exp_distr(create_exp_distr())
# FALSE
is_exp_distr(create_gamma_distr())
is_exp_distr(NA)
is_exp_distr(NULL)
is_exp_distr("nonsense")

check_empty_beautier_folder()

ropensci/beautier documentation built on April 2, 2024, 5:01 a.m.