random.intervals: Random intervals

Description Usage Arguments Value See Also Examples

View source: R/random.intervals.R

Description

The function generates M intervals, whose endpoints are are drawn uniformly without replacements from 1,2,..., n. This routine can be used inside wbs function and is typically not called directly by the user.

Usage

1

Arguments

n

a number of endpoints to choose from

M

a number of intervals to generate

Value

a M by 2 matrix with start (first column) and end (second column) points of an interval in each row

See Also

fixed.intervals wbs

Examples

1

wbs documentation built on May 30, 2017, 3:56 a.m.

Search within the wbs package
Search all R packages, documentation and source code