rescale.by.time: Time unit conversion for DCA

Description Usage Arguments Value See Also Examples

Description

Scales rates, declines, and time periods from one time unit to another.

Usage

1
2
3
4
rescale.by.time(value,
    from.period=c("year", "month", "day"),
    to.period=c("year", "month", "day"),
    method=c("decline", "rate", "time"))

Arguments

value

rate [volume / time], Arps nominal decline [1 / time], or time to be rescaled.

from.period

time period for value (default "year").

to.period

time period for result (default "year").

method

scaling method to be applied, depending upon the type of value (default "decline").

Value

Returns value scaled from from.period to to.period according to its type as specified by method.

See Also

as.nominal, as.effective.

Examples

1
2
3
4
5
6
7
8
## 3 MMscf/D to MMscf/year
rescale.by.time(3, from.period="day", to.period="year", method="rate")

## Nominal decline of 3.2/year to nominal decline per month
rescale.by.time(3.2, from.period="year", to.period="month", method="decline")

## 5 years in days
rescale.by.time(5, from.period="year", to.period="month", method="time")


Search within the aRpsDCA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.