Learn R Programming

aRpsDCA (version 1.1.1)

format.arps: Format methods for Arps decline objects

Description

Get human-readable representation of Arps decline-curve objects.

Usage

# S3 method for arps
format(x, …)

Arguments

x

Arps decline curve object as returned from arps.decline.

Arguments to additional format methods.

Value

A character representation of x.

See Also

format, print.arps, arps.decline.

Examples

Run this code
# NOT RUN {
## exponential decline with
## qi = 1000 Mscf/d, Di = 95% effective / year
## rate for t from 0 to 25 days
decline <- arps.decline(1000,
    as.nominal(0.95, from.period="year", to.period="day"))
format(decline, digits=2)
# }

Run the code above in your browser using DataLab