powered by
Generic function for computing the support interval (minimum and maximum) for a given probability distribution object.
support(d, drop = TRUE, ...)
A vector (or matrix) with two elements (or columns) indicating the range (minimum and maximum) of the support.
An object. The package provides methods for distribution objects such as those from Normal() or Binomial() etc.
Normal()
Binomial()
logical. Should the result be simplified to a vector if possible?
Arguments passed to methods. Unevaluated arguments will generate a warning to catch mispellings or other possible errors.
X <- Normal() support(X) Y <- Uniform(-1, 1:3) support(Y)
Run the code above in your browser using DataLab