Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
DEMAND
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SERG
DEMAND
Commits
2370e7ba
Commit
2370e7ba
authored
7 years ago
by
Ben Anderson
Browse files
Options
Downloads
Patches
Plain Diff
amending figs for paper v2.0
parent
ef67b467
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Theme-1/changeOverTime/changingPeakDemandMtus1974_2014_v2.0.Rmd
+4
-2
4 additions, 2 deletions
...1/changeOverTime/changingPeakDemandMtus1974_2014_v2.0.Rmd
with
4 additions
and
2 deletions
Theme-1/changeOverTime/changingPeakDemandMtus1974_2014_v2.0.Rmd
+
4
−
2
View file @
2370e7ba
...
@@ -966,7 +966,7 @@ myCaption <- "Synthetic MTUS 1974 - 2014, UK sample (%, weighted)"
...
@@ -966,7 +966,7 @@ myCaption <- "Synthetic MTUS 1974 - 2014, UK sample (%, weighted)"
ba_createStackedPlot(aggHhDemandActsWtDT, yVar = "pcAnyHHMainWt", fillVar = "actLabel", yLabel = "% halfhours (main act)", facetVars = "ba_survey ~ r_wday")
ba_createStackedPlot(aggHhDemandActsWtDT, yVar = "pcAnyHHMainWt", fillVar = "actLabel", yLabel = "% halfhours (main act)", facetVars = "ba_survey ~ r_wday")
```
```
Compare
in home & out of home
but without looking at day of the week
(paper Fig 1
). Adjust height of chart to fit single A4 page?
Compare
1974 & 2014
but without looking at day of the week
& in-home only (paper v2.0, Fig 2, revised
). Adjust height of chart to fit single A4 page?
```{r repeat all acts but split by at home vs not at home, fig.height=10, fig.width=8}
```{r repeat all acts but split by at home vs not at home, fig.height=10, fig.width=8}
...
@@ -1003,7 +1003,9 @@ plotDT <- ba_DEMANDreLabelSvyAggActs(wt) # as.data.table creates char from svy r
...
@@ -1003,7 +1003,9 @@ plotDT <- ba_DEMANDreLabelSvyAggActs(wt) # as.data.table creates char from svy r
# for paper
# for paper
myCaption <- "Synthetic MTUS 1974 - 2014, UK sample (%, weighted)"
myCaption <- "Synthetic MTUS 1974 - 2014, UK sample (%, weighted)"
ba_createGreyStackedPlot(plotDT, yVar = "pcAnyHHMainWt", fillVar = "actLabel", yLabel = "% halfhours (main act)", facetVars = "ba_survey ~ inHome")
dt <- plotDT[inHome == "At own home"]
ba_createStackedPlot(dt, yVar = "pcAnyHHMainWt", fillVar = "actLabel", yLabel = "% halfhours (main act)", facetVars = "ba_survey ~ inHome") +
scale_fill_distiller(palette = "Spectral")
```
```
Now plot % point change ignoring day of the week (paper Fig 2, adjust height & width to suit single A4)
Now plot % point change ignoring day of the week (paper Fig 2, adjust height & width to suit single A4)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment