Description Usage Arguments Examples
View source: R/barplotTotLandingsPerSce.R
This function processes further the lst_loglike objects
1 2 3 4 5 6 7 | barplotTotLandingsPerSce(general = general, type_of_column = "pop",
selected = "_selected_set1_", selected_pops = c(0, 1, 2, 3, 11, 23,
24, 26, 30, 31, 32), group1 = c(0, 1, 2, 3, 11, 23, 24, 26, 30, 31,
32), selected_scenarios = general$namefolderoutput,
scenarios_names = general$namefolderoutput, nby = 5,
firsty = "2015", lasty = "2019", a_width = 3500, a_height = 2000,
black_and_white = TRUE, ylims = c(0, 10))
|
fname |
First name |
lname |
Last name |
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ## 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)
barplotTotLandingsPerSce (general=general,
selected="_selected_set1_",
type_of_column="pop",
selected_pops=c(0:38),
group1= c(0, 1, 2, 3, 11, 23, 24, 26, 30, 31, 32),
selected_scenarios=general$namefolderoutput,
scenarios_names=general$namefolderoutput,
nby=5, firsty="2015", lasty="2019",
a_width=3500, a_height=2000, black_and_white = FALSE, ylims = c(0,305))
Note that if black_and_white at true then the barplot is split into 2 groups
(first group is group1 stocks, second is all other ones)
barplotTotLandingsPerSce (general=general,
type_of_column="disc",
selected="_selected_set1_",
selected_pops=c(0:38),
group1= c(0, 1, 2, 3, 11, 23, 24, 26, 30, 31, 32),
selected_scenarios=general$namefolderoutput,
scenarios_names=general$namefolderoutput,
nby=5, firsty="2015", lasty="2019",
a_width=3500, a_height=2000, black_and_white = FALSE, ylims = c(0,305))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.