powered by
Retrieve the variable type of a distribution, such as "continuous" or "discrete".
vtype(distribution)
Single character with the variable type.
Distribution object.
vtype(dst_beta(1, 2)) vtype(dst_bern(0.4)) vtype(distribution())
Run the code above in your browser using DataLab