readSCRAMuncertainty {FaultTree.SCRAM}R Documentation

Parse SCRAM output files to extract uncertainty results

Description

Line-by-line text parsing of a known XML presentation format.

Usage

readSCRAMuncertainty(x, dir="", show=c(FALSE, FALSE))

Arguments

x

The local file name of SCRAM output of interest.

dir

A character string for an absolute directory in which R can read and write.

show

A logigal vector determining whether to display [1] a histogram or [2] a plot of upper and lower bounds by quantile obtained from uncertainty analysis.

Details

SCRAM produces a consistently formated report for uncertainty analysis. This is parsed on a line-by-line basis to extract the returned data items.

Value

Returns a list containing $probability, $quantiles, and $histogram data from uncertainty analysis.

References

Rauzy, Antoine, et. al. (2013) Open PSA Model Exchange Format v2.0 open-psa.org

Limnios, Nikolaos (2007) Fault Trees ISTE Ltd.

Nicholls, David [Editor] (2005) System Reliability Toolkit Reliability information Analysis Center

O'Connor, Patrick D.T. (1991) Practical Reliability Engineering John Wiley & Sons

Examples

## This function is completely device dependent.

[Package FaultTree.SCRAM version 0.2.8.2 Index]