Learn R Programming

serieslcb (version 0.4.0)

pm.random: Matrix of p-vector combinations sampled randomly.

Description

Randomly sample to build a matrix of p-vector combinations (component reliabilities) which lie in the specified interval of system reliability. Rows correspond to p-vectors and columns correspond to components.

Usage

pm.random(Rs.int, m, number)

Arguments

Rs.int

Interval (or single number) of total system reliability.

m

Number of components.

number

The number of random samples to draw.

Examples

Run this code
# NOT RUN {
pm.random(Rs.int=c(.9, .95), m=3, number=100)
# }

Run the code above in your browser using DataLab