Base R has no mpg data (it has mtcars); mpg ships with ggplot2.
library(ggplot2)
ggplot(mpg, aes(displ, hwy)) + geom_point()
intro-r.rsquaredacademy.com/first-plot
#rstats #ggplot2
Base R has no mpg data (it has mtcars); mpg ships with ggplot2.
library(ggplot2)
ggplot(mpg, aes(displ, hwy)) + geom_point()
intro-r.rsquaredacademy.com/first-plot
#rstats #ggplot2
ggplot(mtcars, aes(disp, mpg)) + geom_point()
The Quick Tour covers scatter, bar, box and line plots.
viz-ggplot2.rsquaredacademy.com/ggplot2-quic...
#rstats #ggplot2
ggplot(mtcars, aes(disp, mpg)) + geom_point()
The Quick Tour covers scatter, bar, box and line plots.
viz-ggplot2.rsquaredacademy.com/ggplot2-quic...
#rstats #ggplot2
#RStats #sf #ggplot2 #vegan #patchwork #ggspatial #dplyr #rnaturalearth #GeoportalBerlin
#RStats #sf #ggplot2 #vegan #patchwork #ggspatial #dplyr #rnaturalearth #GeoportalBerlin
Bar order comes from the factor levels.
factor(x, levels = x[order(value)]) sets them by hand. forcats::fct_reorder(x, value) does it inside aes().
Learn the mechanic, not just the shortcut.
Bar order comes from the factor levels.
factor(x, levels = x[order(value)]) sets them by hand. forcats::fct_reorder(x, value) does it inside aes().
Learn the mechanic, not just the shortcut.
#dataviz #rstats #Rspatial #ggplot2
#dataviz #rstats #Rspatial #ggplot2
A simple world map with lines showing flight routes from Edinburgh airport ✈️
#RStats #RSpatial #ggplot2 #DataViz
A simple world map with lines showing flight routes from Edinburgh airport ✈️
#RStats #RSpatial #ggplot2 #DataViz
Inspired by the best of tidy R/Python, PHPstats provides polars & tibble-style data frames, dplyr-like data wrangling, ggplot2-like data viz, real stats & modeling functions, and even a Jupyter kernel. phpstats.org
Inspired by the best of tidy R/Python, PHPstats provides polars & tibble-style data frames, dplyr-like data wrangling, ggplot2-like data viz, real stats & modeling functions, and even a Jupyter kernel. phpstats.org
In my new Statistics Globe Hub module, I compare these three popular visualization libraries: statisticsglobe.com/hub
Prefer R? My ggplot2 course starts November 9: statisticsglobe.com/online-cours...
#Python #DataVisualization #Matplotlib #Seaborn #Plotly #ggplot2
In my new Statistics Globe Hub module, I compare these three popular visualization libraries: statisticsglobe.com/hub
Prefer R? My ggplot2 course starts November 9: statisticsglobe.com/online-cours...
#Python #DataVisualization #Matplotlib #Seaborn #Plotly #ggplot2
Drive through Argentine Patagonia and the gas stations turn blue.
YPF runs 35% of Argentina’s gas stations, but 54% of those in Patagonia. Each dot is a 50 km zone, colored by its most common chain.
R + sf + ggplot2 · Data: Secretariat of Energy
#rstats #dataviz
Drive through Argentine Patagonia and the gas stations turn blue.
YPF runs 35% of Argentina’s gas stations, but 54% of those in Patagonia. Each dot is a 50 km zone, colored by its most common chain.
R + sf + ggplot2 · Data: Secretariat of Energy
#rstats #dataviz
#RStats #sf #ggplot2 #igraph #patchwork #ggspatial #dplyr #OpenStreetMap #GeoportalBerlin
#RStats #sf #ggplot2 #igraph #patchwork #ggspatial #dplyr #OpenStreetMap #GeoportalBerlin
#ggplot2 adventures, an #rstats tale
#ggplot2 adventures, an #rstats tale
Tram route length: approx. 215 km, busses: 577 km (Network length within city limits. Each route section counted once; for tram lines, parallel tracks for opposite directions merged.)
#30DayMapChallenge Day 02 - Lines 📊 #ggplot2
Tram route length: approx. 215 km, busses: 577 km (Network length within city limits. Each route section counted once; for tram lines, parallel tracks for opposite directions merged.)
#30DayMapChallenge Day 02 - Lines 📊 #ggplot2
https://dieghernan.github.io/202510_mapping-antarctica/
#ggplot2 adventures, an #rstats tale
#ggplot2 adventures, an #rstats tale
Watch the video: www.youtube.com/watch?v=44hT...
Learn more about my ggplot2 course: statisticsglobe.com/online-cours...
#RStats #ggplot2 #DataVisualization #Statistics #DataScience
Watch the video: www.youtube.com/watch?v=44hT...
Learn more about my ggplot2 course: statisticsglobe.com/online-cours...
#RStats #ggplot2 #DataVisualization #Statistics #DataScience
A grammar of graphics for Elixir, after R's ggplot2: map data to aesthetics, compose layers, scales, facets and coordinate systems, and draw SVG.
Licenses: MIT
A grammar of graphics for Elixir, after R's ggplot2: map data to aesthetics, compose layers, scales, facets and coordinate systems, and draw SVG.
Licenses: MIT
It puts everything about an R package from CRAN or Bioconductor on one page.
V2 contains over twenty-three new features since July and an improved mobile browsing experience!
observe.rstats.dev
#rstats
It puts everything about an R package from CRAN or Bioconductor on one page.
V2 contains over twenty-three new features since July and an improved mobile browsing experience!
observe.rstats.dev
#rstats
(Maybe also an early Day 4 entry for the #30DayMapChallenge and the prompt of "Clusters"?) 🗺️
#RStats #DataViz #ggplot2
(Maybe also an early Day 4 entry for the #30DayMapChallenge and the prompt of "Clusters"?) 🗺️
#RStats #DataViz #ggplot2
16, you ask?
#30DayMapChallenge Day 01 - Points 📊 #ggplot2
16, you ask?
#30DayMapChallenge Day 01 - Points 📊 #ggplot2
This map shows an entirely unrealistic division of the city would be divided up if everyone supported the club whose stadium was closest to their home.
#30DayMapChallenge Day 03 - Polygons 📊 #ggplot2
This map shows an entirely unrealistic division of the city would be divided up if everyone supported the club whose stadium was closest to their home.
#30DayMapChallenge Day 03 - Polygons 📊 #ggplot2
As usual, a big thx to @12xpert.bsky.social for providing the rating tools I use in my simulations. #ifkgbg #rstats #ggplot2 @svenskfotbollse.bsky.social
As usual, a big thx to @12xpert.bsky.social for providing the rating tools I use in my simulations. #ifkgbg #rstats #ggplot2 @svenskfotbollse.bsky.social