Learn R Programming

CNAIM (version 1.0.1)

risk_calculation: Calculates risk and converts to matrix coordinates

Description

This function calculates monetary risk, given probability of failure and consequence of failure inputs, as well as the desired risk matrix dimensions.

Usage

risk_calculation(matrix_dimensions, id, pof, cof, asset_type)

Arguments

matrix_dimensions

A data frame with the dimensions of the desired risk matrix

id

A string that describes the asset

pof

The probability of failure of the asset

cof

The consequences of failure of the asset

asset_type

The asset type to be calculated for class