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

igenerate(n, ...)

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`).

Value

An interval object containing the generated intervals.

Examples

igenerate(1, c(0, 1, 2, 1))
#> , , 1
#> 
#>            min      max
#> [1,] -1.480124 2.178178
#> 
#> Available components:
#> [1] "inter" "class"
igenerate(1, c(0, 1, 2, 1), c(100, 1, 2, 1))
#> , , 1
#> 
#>           min    max
#> [1,] 0.413912 2.8485
#> 
#> , , 2
#> 
#>           min      max
#> [1,] 97.58387 102.4103
#> 
#> Available components:
#> [1] "inter" "class"