muniformdistribution: A Multivariate Uniform Distribution

Description Usage Arguments Value Author(s) Examples

Description

An object representing a multivariate univariate muniform distribution is created.

Usage

1
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.

Author(s)

Petter Mostad <mostad@chalmers.se>

Examples

1
2
3

Example output

Loading required package: MASS
[1] 0.5 0.5 0.5 0.5 0.5
           [,1]       [,2]       [,3]       [,4]       [,5]
[1,] 0.08333333 0.00000000 0.00000000 0.00000000 0.00000000
[2,] 0.00000000 0.08333333 0.00000000 0.00000000 0.00000000
[3,] 0.00000000 0.00000000 0.08333333 0.00000000 0.00000000
[4,] 0.00000000 0.00000000 0.00000000 0.08333333 0.00000000
[5,] 0.00000000 0.00000000 0.00000000 0.00000000 0.08333333

lestat documentation built on May 2, 2019, 2:09 p.m.