uniformdistribution {lestat} | R Documentation |
A Uniform Distribution
Description
An object representing a univariate uniform distribution is created.
Usage
uniformdistribution(a = 0, b = 1)
Arguments
a |
The lower bound for the distribution. The default is 0. |
b |
The upper bound for the distribution. The default is 1. |
Value
A uniform probability distribution.
Author(s)
Petter Mostad <mostad@chalmers.se>
Examples
dist <- uniformdistribution()
expectation(dist)
variance(dist)
[Package lestat version 1.9 Index]