Description Usage Arguments Author(s) References See Also Examples
Energy consumption analysis for calculating carbon emission changes
1 2 3 4 5 6 |
cdata |
A data.frame of annual carbon emission or energy consumption data, which can include multiple Fuels stored by columns. |
factordata |
A list of factors' data.frame. |
years |
A numeric vector of year. |
Factor |
A vector of factor names. |
Fuel |
A vector of fuel names. |
Sector |
A vector of carbon emission or energy consumption
sector names or number. If only one sector of carbon emission or
energy consumption, set |
method |
A character of energy consumption analysis method's name.
One of " |
x |
A list of EDA result. |
... |
Ignore |
Yongze Song yongze.song@postgrad.curtin.edu.au and Peng Wu peng.wu@curtin.edu.au.
Ang, B. W. (2005). The LMDI approach to decomposition analysis: a practical guide. Energy policy, 33(7), 867-871.
Marlay, R. C. (1984). Trends in industrial use of energy. Science, 226, 1277-1284.
Paasche, H. Uber die Preisentwicklung der letzten Jahre. Jahrbiicher fur Nationalokonomie und Statistik, 23(1874), 168.
Marshall, A. (1887). Remedies for fluctuations of general prices.
Edgeworth, F. Y. (1925). Papers relating to political economy.
Walsh, C. M. (1921). The Problem of Estimation, a Seventeenth-century Controversy and Its Bearing on Modern Statistical Questions, Especially Index-numbers, by Correa Moylan Walsh.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(EDA)
data(carbon)
data(factordata)
## set parameters
cdata <- carbon[,-c(1,2)]
years <- carbon$year
Sector <- c("b1", "b2", "b3")
Fuel <- colnames(cdata)
Factor <- names(factordata)
## run EDA model
eda1 <- EDA(cdata, factordata, years = years, Factor = Factor,
Fuel = Fuel, Sector = Sector, method = "LMDI")
eda1
plot(eda1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.