Determine if the object is a valid log-normal distribution, as created by create_log_normal_distr

is_log_normal_distr(x)

Arguments

x

an object, to be determined if it is a valid log-normal distribution

Value

TRUE if x is a valid log-normal distribution, FALSE otherwise

See also

use is_distr to see if x is any distribution

Author

Richèl J.C. Bilderbeek

Examples

# TRUE
is_log_normal_distr(create_log_normal_distr())
#> [1] TRUE
# FALSE
is_log_normal_distr(create_normal_distr())
#> [1] FALSE
is_distr(NA)
#> [1] FALSE
is_distr(NULL)
#> [1] FALSE
is_distr("nonsense")
#> [1] FALSE