Learn R Programming

cban (version 1.0)

decd: Benefit Decision

Description

It provides decision on whether a project is worthy of yielding some benefit.

Usage

decd(x)

Arguments

x

the ratio of benefit and cost - a numeric(double or integer) value

Value

a character string giving a decision on whether the project should proceed or not

Details

The function is designed to take in the first component of the list returned by the function bcr as its argument but can also use any ratio as argument.

Examples

Run this code
# NOT RUN {
## usiing benefit-cost ratio of 1.9 and 0.72  
dc1 = decd(1.9)
bc2 = decd(0.72)
# }

Run the code above in your browser using DataLab