Learn R Programming

lestat (version 1.9)

muniformdistribution: A Multivariate Uniform Distribution

Description

An object representing a multivariate univariate muniform distribution is created.

Usage

muniformdistribution(startvec, stopvec)

Arguments

startvec

A vector with the lower bounds for the distribution.

stopvec

A vector with the upper bounds for the distribution.

Value

A multivariate uniform probability distribution.

Examples

Run this code
# NOT RUN {
dist <- muniformdistribution(rep(0, 5), rep(1, 5))
expectation(dist)
variance(dist)
# }

Run the code above in your browser using DataLab