-
Notifications
You must be signed in to change notification settings - Fork 4
/
Run_programs.R
executable file
·37 lines (26 loc) · 1.2 KB
/
Run_programs.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
####################### Master Script for QE framework analysis ###############################
###
### Summary:
#### To generate analytical solutions based on quasi-equilibrium framework
### to test effect of alternative model assumptions on model behaviors
###
### Author: Mingkai Jiang ([email protected])
###
#### ------------------------ General system stuffs ------------------------ #####
### Make sure everything is clear
rm(list=ls(all=TRUE))
### Get current date
date<-Sys.Date()
### pre-processing script, read in all R packages
source("QE_Analyses/prepare_R.R")
#### ------------------------ Run analytical stuffs ------------------------ #####
### To run analytical solution solutions for various model assumptions.
### All cases are labelled in numeric orders.
### The detailed descriptions of each case is available in their respective script comments
source("QE_Analyses/Run_analytical_solutions.R")
#### ------------------------ Generate output tables ------------------------ #####
source("QE_Analyses/make_summary_table.R")
sumDF <- make_summary_table(destDir = "Tables")
##### ------------------------ Clear workspace ---------------------------- #####
rm(list=ls(all=TRUE))
#### End