Learn R Programming

COveR (version 1.0.4)

igenerate: Creates intervals from Normal Distribution using specified mean and standard deviation values for both the center and half-size of the intervals.

Description

Creates intervals from Normal Distribution using specified mean and standard deviation values for both the center and half-size of the intervals.

Usage

igenerate(n, ...)

Value

An interval object containing the generated intervals.

Arguments

n

Number of intervals to generate.

...

Vectors representing parameters for generating intervals: each vector should contain four values (`center mean`, `center sd`, `half-size mean`, `half-size sd`).

Examples

Run this code
igenerate(1, c(0, 1, 2, 1))
igenerate(1, c(0, 1, 2, 1), c(100, 1, 2, 1))

Run the code above in your browser using DataLab