Learn R Programming

inegiR (version 2.0.0)

crecer: Grows a series by a set rate

Description

When specifying an initial starting value, this "grows" the value by a vector of growth rates. This is a legacy function.

Usage

crecer(tasas, comienzo)

Arguments

tasas

vector with rates

comienzo

initial value

Value

numeric

See Also

series_crecimiento_regiones

Examples

Run this code
# NOT RUN {
rates <- c(1.10,1.20,1.05,1.02,1.10)

# Grow by that rate
Results <- crecer(tasas = rates, comienzo = 100)

# }

Run the code above in your browser using DataLab