Learn R Programming

FinCal (version 0.6.3)

n.period: Estimate the number of periods

Description

Estimate the number of periods

Usage

n.period(r, pv, fv, pmt, type = 0)

Arguments

r
discount rate, or the interest rate at which the amount will be compounded each period
pv
present value
fv
future value
pmt
payment per period
type
payments occur at the end of each period (type=0); payments occur at the beginning of each period (type=1)

See Also

pv

fv

pmt

discount.rate

Examples

Run this code
n.period(0.1,-10000,60000000,-50000,0)

n.period(r=0.1,pv=-10000,fv=60000000,pmt=-50000,type=1)

Run the code above in your browser using DataLab