powered by
x
empirical_dist
Function to determine whether an object x is an empirical_dist object.
is_empirical_dist(x)
Logical; TRUE if x is an empirical_dist.
TRUE
The object to test
ed <- empirical_dist(c(1, 2, 3)) is_empirical_dist(ed) # TRUE is_empirical_dist("abc") # FALSE
Run the code above in your browser using DataLab