is_laplace_distr: Determine if the object is a valid Laplace distribution, as...

View source: R/is_distr.R

is_laplace_distrR Documentation

Determine if the object is a valid Laplace distribution, as created by create_laplace_distr

Description

Determine if the object is a valid Laplace distribution, as created by create_laplace_distr

Usage

is_laplace_distr(x)

Arguments

x

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

Value

TRUE if x is a valid Laplace distribution, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

use is_distr to see if x is any distribution

Examples

# TRUE
is_laplace_distr(create_laplace_distr())
# FALSE
is_laplace_distr(create_log_normal_distr())
is_laplace_distr(NA)
is_laplace_distr(NULL)
is_laplace_distr("nonsense")

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