plot_population_sizes: Plots the expected and generated population sizes

Description Usage Arguments Value Author(s) See Also

Description

Plots as a bar chart the sizes expected and generated of the populations

Usage

1
2
plot_population_sizes(sp, nameA = "A", nameB = "B",
  colorRef = "darkgray", colorSynthetic = "blue")

Arguments

sp

a synthetic population, as produced by matching.generate.

nameA

a meaningfull label for the entity type of population A, such as "dwellings" (default to "A")

nameB

a meaningfull label for the entity type of population B, such as "households" (default to "B")

colorRef

the color to be used to plot values passed as parameters (defaults to "darkgray")

colorSynthetic

the color to be used to plot values measured in the synthetic population (defaults to "blue")

Value

a ggplot ready to display

Author(s)

Samuel Thiriot <samuel.thiriot@res-ear.ch>

See Also

plot.dpp_result for the plot of all the results in one call


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.