vtype: Variable Type of a Distribution

View source: R/vtype.R

vtypeR Documentation

Variable Type of a Distribution

Description

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

Usage

vtype(distribution)

Arguments

distribution

Distribution object.

Value

Single character with the variable type.

Examples

vtype(dst_beta(1, 2))
vtype(dst_bern(0.4))
vtype(distribution())

vincenzocoia/distionary documentation built on Feb. 26, 2025, 11:09 a.m.