plot_errors_pdi: Plots expected and generated probability distribution of...

Description Usage Arguments Value Author(s) See Also

Description

Plots as a heatmap the difference between expected probabilities and generated ones. Locations in red have a lower probability than expected; in blue, it's the opposite.

Usage

1
2
3
4
5
plot_errors_pdi(sp, nameA = "A", colorRef = "darkgray",
  colorSynthetic = "blue")

plot_errors_pdj(sp, 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")

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")

nameB

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

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.