Learn R Programming

distributions3 (version 0.2.0)

support: Return the support of a distribution

Description

Return the support of a distribution

Usage

support(d, drop = TRUE)

Value

A vector with two elements indicating the range of the support.

Arguments

d

A probability distribution object such as those created by a call to Bernoulli(), Beta(), or Binomial().

drop

logical. Should the result be simplified to a vector if possible?