Learn R Programming

tvmComp (version 1.0.2)

pvDailyCompSingleCF: Calculates Present Value of a Single Cash Flow for Daily Compounding Frequency.

Description

Calculates Present Value of a Single Cash Flow for Daily Compounding Frequency.

Usage

pvDailyCompSingleCF(r, n, fv)

Arguments

r

A number.

n

A number.

fv

A number.

Value

Input values to three arguments r , n and fv.

Details

As defined by brook;textualtvmComp, Present Value is the value today of tomorrow<U+2019>s cash flow. Computation of the equivalent value of a Future Value in today<U+2019>s dollars, is done by discounting the Future Value back to the Present Value at a given discount rate. The method pvDailyCompSingleCF() is developed to calculates Present Value of a Single Cash Flow for daily Compounding Frequency.The method gives Present Value when values are passed to its three arguments. Here r is annual rate, n is number of years and fv is Future Value

References

brooktvmComp

Examples

Run this code
# NOT RUN {
pvDailyCompSingleCF(0.08,10,-2000)
pvDailyCompSingleCF(0.08,10,2000)
# }

Run the code above in your browser using DataLab