distr (version 2.3.1)

UnifParameter-class: Class "UnifParameter"

Description

The parameter of a uniform distribution, used by Unif-class

Arguments

Objects from the Class

Objects can be created by calls of the form new("UnifParameter", Max, Min). Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Unif is instantiated.

Extends

Class "Parameter", directly.

concept

  • parameter
  • Uniform distribution
  • S4 parameter class

See Also

Unif-class Parameter-class

Examples

Run this code
W <- new("UnifParameter",Min=0,Max=1)
Max(W) # Max of this distribution is 1.
Max(W) <- 2 # Max of this distribution is now 2.

Run the code above in your browser using DataCamp Workspace