Skip to contents

Currently, this function makes a distribution object with nothing in it. The idea is that you can then set things downstream, with functions such as set_cdf() and set_mean(). The idea behind this function is expected to be in flux.

Usage

is_distribution(object)

is.distribution(object)

distribution(variable = c("continuous", "discrete", "mixed"))

Arguments

object

Object to be tested

variable

Is this variable continuous, discrete, or mixed?

Value

A distribution object with nothing in it.