CompK_CP {CHNCapitalStock}  R Documentation 
This function compute capital stock of provinces in China using the method by Chen (2020).
CompK_CP(
prv,
startyr = 1993,
yr = NULL,
invest = NULL,
InvestPrice = NULL,
depr = NULL,
delta = 0.096,
bt = 1992
)
prv 
a province name, a scalar character. It's Chinese phonetic alphabets. 
startyr 
a numeric scalar. When use the method by Chen (2020), 
yr 
a numeric vector about years. If you only need capital stock before 2017,
you can use its default 
invest 
a numeric vector about investment, its length equal the length of

InvestPrice 
a numeric vector about price indices of investment,
its length equal the length of 
depr 
a numeric vector about depreciation,its length equal the length of 
delta 
a rate of depreciation, a scalar number. 
bt 
a scalar number, such as 2000. It means computing capital stock with its price equal
1 in 
The function return a data.frame, and its 1st column is province, 2nd column is year, 3rd column is capital stock, 4th column is the price index of investment.
The parameter InvestPrice
is a fixed base index with equaling 1 in 1952 by default.
However, we often only get a price indices of investment with equaling 1
in last year. You can use data(asset)
to get InvestPrice
in any year (before 2017) with equaling 1 in 1952. So, it is easy then.
Chen, Pu, 2020, Compute capital stocks of provinces in China (In Chinese).