Description Usage Arguments Value See Also Examples
Scales rates, declines, and time periods from one time unit to another.
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"))
|
value |
rate [volume / time], Arps nominal decline [1 / time], or time to be rescaled. |
from.period |
time period for |
to.period |
time period for result (default |
method |
scaling method to be applied, depending upon the type of |
Returns value
scaled from from.period
to to.period
according to its type as specified by method
.
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")
|
[1] 1095.75
[1] 0.2666667
[1] 60
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.