Learn R Programming

distionary (version 0.1.0)

vtype: Variable Type of a Distribution

Description

Retrieve the variable type of a distribution, such as "continuous" or "discrete".

Usage

vtype(distribution)

Value

Single character with the variable type.

Arguments

distribution

Distribution object.

Examples

Run this code
vtype(dst_beta(1, 2))
vtype(dst_bern(0.4))
vtype(distribution())

Run the code above in your browser using DataLab