Learn R Programming

capn (version 2.0.0)

Capital Asset Pricing for Nature

Description

Implements the natural capital asset pricing for nature (CAPN) approach, using a collocation or iteration method and associated functions for dynamic programs. Development of this package was supported by the Knobloch Family Foundation and Lenfest Ocean Program Contract ID 00029728.

Copy Link

Version

Install

install.packages('capn')

Monthly Downloads

195

Version

2.0.0

License

GPL (>= 2)

Maintainer

Seong D. Yun

Last Published

August 22nd, 2026

Functions in capn (2.0.0)

pdotsim

Simulation of Pdot-Approximation
vaprox.pindyck

Computing Value Function (V) Approximation Coefficients for examples in Pindyck (1984)
paprox

Calculate P-Approximation Coefficients
forest

Douglas-Fir Forest Data in Western Oregon (1-D Example)
chebbasisgen

Generate Unidimensional Chebyshev Polynomial Basis
aproxdef

Define Approximation Space
GOM

Gulf of Mexico Reef Fish Example Data (1-D Deterministic)
chebnodegen

Unidimensional Chebyshev Nodes
chebgrids

Generate Chebyshev Grids
pdotaprox

Compute Pdot-Approximation Coefficients
LV

Prey--Predator (Lotka--Volterra) Example Data (2-D Deterministic)
AFY

Abbott--Fenichel--Yun Data (1-D Stochastic Example)
vaprox

Computing Value Function (V) Approximation Coefficients
vaprox.pjump

Value Function Approximation with Poisson Jump Risk
psim

Simulation of P-Approximation
plotgen

Plot Generator for Shadow Price and Value Function
unigrids

Generate Uniform Grids
vaprox.split

Value Function Approximation with Inaction (Split) Management
vsim

Simulation of Value Function Approximation