Skip to content

Commit

Permalink
Adding SGP script for 2014
Browse files Browse the repository at this point in the history
  • Loading branch information
dbetebenner committed Sep 27, 2014
1 parent 58524fe commit b1277ca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions New_Jersey_SGP_2014.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
####################################################################
###
### Code to update SGP analyses for New Jersey for 2014
###
####################################################################

### Load SGP Package

require(SGP)


### Load data

load("Data/New_Jersey_Data_LONG_2014.Rdata")
load("Data/New_Jersey_SGP.Rdata")


### updateSGP

New_Jersey_SGP <- updateSGP(
New_Jersey_SGP,
New_Jersey_Data_LONG_2014,
save.intermediate.results=TRUE,
parallel.config=list(BACKEND="PARALLEL", WORKERS=list(PERCENTILES=10, BASELINE_PERCENTILES=10, PROJECTIONS=10, LAGGED_PROJECTIONS=10, SUMMARY=10, GA_PLOTS=4, SG_PLOTS=1)))


### Save results

save(New_Jersey_SGP, file="Data/New_Jersey_SGP.Rdata")

0 comments on commit b1277ca

Please sign in to comment.