Skip to content
andré ourednik   
info
  • publications
    • fictions
    • scientific
  • évènements
  • maps & spaces
    • Courses
    • Maps
    • Spaces
    • Tools
    • Uncategorized
  • podcast
  • simulations
  • contact
search

Maps and Spaces

Cartes et espaces

Tag Archives: stacked histogram

Stacked histogram with bivariate colored bars in R

Stacked histogram in R

A histogram gives you counts of elements within spefic ranges of a variable, represented as bars. Sometimes, you want to see more than bars. The following code allows you to represent a second variable with a color shade:

Published: March 22nd, 2017 — Updated: January 27th, 2020Posted inCourses, ToolsTags: cours unine, ggplot, R, rstats, RStudio, stacked histogram
Maps and Spaces, Privacy Policy