distribution: Distribution Objects

View source: R/distribution.R

is_distributionR Documentation

Distribution Objects

Description

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.


vincenzocoia/distionary documentation built on March 5, 2024, 3:13 a.m.