is_inv_gamma_distr {beautier}R Documentation

Determine if the object is a valid inverse-gamma distribution as created by create_inv_gamma_distr

Description

Determine if the object is a valid inverse-gamma distribution as created by create_inv_gamma_distr

Usage

is_inv_gamma_distr(x)

Arguments

x

an object, to be determined if it is a valid inverse-gamma distribution

Value

TRUE if x is a valid inverse-gamma 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_inv_gamma_distr(create_inv_gamma_distr())
# FALSE
is_inv_gamma_distr(create_laplace_distr())
is_inv_gamma_distr(NA)
is_inv_gamma_distr(NULL)
is_inv_gamma_distr("nonsense")

check_empty_beautier_folder()

[Package beautier version 2.6.11 Index]