polygonPlotsFromPopStatsFiles: Produce polygon plots of time series for pop monthly...

Description Usage Arguments Examples

View source: R/polygonPlotsFromPopStatsFiles.R

Description

This function produces all accumulated time series over month to compare scenario outcomes All the plots are being stored in a polygons_plots folder that can further be found in the output folder. (compare up to 5 scenarios simultaneously)

Usage

1
2
3
4
5
6
polygonPlotsFromPopStatsFiles(general = general, a_variable = "Fbar",
  nby = 5, the_baseline = "svana_baseline", a_width = 3500,
  a_height = 1000, selected_scenarios = general$namefolderoutput[1:3],
  the_scenario_names = general$namefolderoutput[1:3],
  explicit_pops = c(0, 1, 2, 3, 11, 23, 24, 26, 30, 31, 32),
  is_individual_export = TRUE, add_legend = FALSE)

Arguments

fname

First name

lname

Last name

Examples

 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
36
37
38
39
40
41
42
43
44
## Not run: 
general <- setGeneralOverallVariable (pathToRawInputs =file.path("C:", "Users", "fbas", 
                                                "Documents", "GitHub", paste0("DISPLACE_input_gis_", 
                                                 "DanishFleet")),
                                      pathToDisplaceInputs = file.path("C:", "Users", "fbas", 
                                                "Documents", "GitHub", paste0("DISPLACE_input_", "DanishFleet")),
                                      pathToOutputs =file.path("C:","DISPLACE_outputs"),
                                      caseStudy="DanishFleet",
                                      iGraph=41,
                                      iYear="2015",
                                      iCountry="DEN",
                                      nbPops=39,
                                      nbSzgroup=14,
                                      theScenarios= c("svana_baseline",
                                                      "svana_sub1mx20",
                                                      "svana_sub4mx20",
                                                      "svana_sub4mx5ns20bt",
                                                      "svana_sub4mx20ns5bt",
                                                      "svana_sub4mx5ns5bt" ),
                                      nbSimus=20,
                                      useSQLite=FALSE    
                                      )



loadLoglikeFiles(general=general, use_port_info=FALSE)



polygonPlotsFromPopStatsFiles (general=general,
                                         a_variable="Fbar",  
                                          nby=5,
                                          the_baseline="svana_baseline",
                                          a_width=3500,
                                          a_height=1000,
                                          selected_scenarios=general$namefolderoutput[1:3],
                                          the_scenario_names=general$namefolderoutput[1:3], 
                                          explicit_pops=c(0, 1, 2, 3, 11, 23, 24, 26, 30, 31, 32),
                                          is_individual_export=TRUE,
                                          add_legend=TRUE
                                          )

  
## End(Not run)

frabas/displaceplot documentation built on May 3, 2019, 4:06 p.m.