Learn R Programming

beautier (version 2.6.12)

is_uniform_distr: Determine if the object is a valid uniform distribution as created by create_uniform_distr

Description

Determine if the object is a valid uniform distribution as created by create_uniform_distr

Usage

is_uniform_distr(x)

Value

TRUE if x is a valid uniform distribution, FALSE otherwise

Arguments

x

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

Author

Richèl J.C. Bilderbeek

See Also

use is_distr to see if x is any distribution

Examples

Run this code
check_empty_beautier_folder()

# TRUE
is_uniform_distr(create_uniform_distr())
# FALSE
is_uniform_distr(create_beta_distr())
is_uniform_distr(NA)
is_uniform_distr(NULL)
is_uniform_distr("nonsense")

check_empty_beautier_folder()

Run the code above in your browser using DataLab