Learn R Programming

rinform (version 1.0.2)

uniform: Uniform

Description

Create a uniform distribution of a given size n.

Usage

uniform(n)

Arguments

n

Numeric giving the size of the support of the distribution.

Value

Dist object with support size n.

Examples

Run this code
# NOT RUN {
# Create uniform distributions of size 3 and 7
d <- uniform(3)
d

d <- uniform(7)
d
# }

Run the code above in your browser using DataLab