is_one_div_x_distr {beautier}R Documentation

Determine if the object is a valid 1/x distribution, as created by create_one_div_x_distr

Description

Determine if the object is a valid 1/x distribution, as created by create_one_div_x_distr

Usage

is_one_div_x_distr(x)

Arguments

x

an object, to be determined if it is a valid 1/x distribution

Value

TRUE if x is a valid 1/x 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_one_div_x_distr(create_one_div_x_distr())
# FALSE
is_one_div_x_distr(create_poisson_distr())
is_one_div_x_distr(NA)
is_one_div_x_distr(NULL)
is_one_div_x_distr("nonsense")

check_empty_beautier_folder()

[Package beautier version 2.6.11 Index]