EDA {EDA} | R Documentation |
Energy consumption analysis for calculating carbon emission changes
Description
Energy consumption analysis for calculating carbon emission changes
Usage
EDA(cdata, factordata, years = years, Factor = Factor,
Fuel = 1, Sector = 1, method = "LMDI")
## S3 method for class 'EDA'
print(x, ...)
## S3 method for class 'EDA'
plot(x, ...)
Arguments
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 |
Author(s)
Yongze Song yongze.song@postgrad.curtin.edu.au and Peng Wu peng.wu@curtin.edu.au.
References
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.
See Also
Examples
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)