#dplyr — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dplyr, aggregated by home.social.
-
Choosing the wrong join can silently remove observations, duplicate rows, or introduce missing values into your data.
More info in the latest Statistics Globe Hub module: https://statisticsglobe.com/hub
#rstats #datascience #statistics #programming #tidyverse #dplyr #analytics #statisticsglobehub
-
#Day29 | Uncertainties – Monochrome | #30DayChartChallenge | . Coffee Price Forecast — Holt-Winters (HW) Built with #RStats using #forecast, #ggplot2, #dplyr, #lubridate, #scales and #tidyr.
-
#Día27 | Incertidumbre – Animación | #30DayChartChallenge | Tendencia de la temperatura global. Creado con #RStats usando #dplyr, #ggplot2 y #gganimate.
-
#Día26 | Incertidumbre – Tendencias | #30DayChartChallenge | Tendencia de la temperatura global. Creado con #RStats usando #dplyr y #ggplot2
-
#Día24 | Series de Tiempo – Día Temático - South China Morning Post | #30DayChartChallenge | Producción de Café en Centroamérica: Tendencias 2021-2025. Creada usando #Rstats con #ggplot2, #patchwork, #dplyr, #grid, #gridExtra, #scales, #sf, #rnaturalearth y #rnaturalearthdata.
-
#Día23 | Series de Tiempo – Seasons (Temporadas) | #30DayChartChallenge | Malcolm in the Middle. Creada usando #Rstats con #ggplot2, #dplyr, #ggtext, #showtext, #patchwork, #scales y #glue.
-
#Día19 | Series de Tiempo – Evolución | #30DayChartChallenge | Nuevas especies de mamíferos descritas por la ciencia · 1900–2050. Creada usando #Rstats con #ggplot2, #dplyr, #scales y #patchwork.
-
#Day8 | Distributions – Circular | #30DayChartChallenge | Elevation distribution in the most circular department of Honduras. Built with #RStats using #sf, #raster, #exactextractr, #ggplot2, #ggnewscale, #ggtext, #dplyr, #terra, #showtext, #scales, #patchwork and #ggspatial.
-
#Day7 | Distributions – Multiscale | #30DayChartChallenge | Comparison of NDVI distributions across two spatial scales. Built with #RStats using #ggplot2, #dplyr, #terra, #tidyterra, #patchwork, #ggtext, and #scales.
-
#Día5 | Comparaciones – Experimental | #30DayChartChallenge. Experimenté agregando una sumatoria horizontal de observaciones en un boxplot sobre la capacidad endocraneana en especies del género Homo. Creada usando R con #ggplot2, #ggdist, #dplyr, #scales, #ggtext, #patchwork, #tibble y #tidyr.
-
#Día3 | Comparación– Mosaico | #30DayChartChallenge. Focos de calor detectados para los paises de América Central. Un gráfico con valores absolutos y otro con valores relativos. Creada usando R con #ggplot2, #treemapify, #dplyr, #scales, #readr y #stringr.
-
#Día 2 | Comparaciones – Pictograma | #30DayChartChallenge. Centroamérica suma más de 51 millones de habitantes. El gráfico fue creada usando R con #ggplot2, #dplyr, #tidyr#, #scales, #ggflags, #sf, #rnaturalearth, #rnaturalearthdata, #patchwork.
-
-
Here is a simple script to show what different distribution densities look like. You can easily achieve this using my TidyDensity package. #dplyr #ggplot2 #TidyDensity #R #RStats
-
-
Na #PythonCerrado2025, tivemos ontem um excelente tutorial do Lucas Marcondes Pavelski https://github.com/lucasmpavelski.
Aprendemos sobre #R, #tidyverse, #reticulate, várias ferramentas essenciais como #ggplot2 e #dplyr, vendo na prática como aplicá-las. Foco na ponte #Python <-> R.
Tudo novidade pra mim, vieram várias ideias interessantes de análises e plots.
-
I recently saw a kind of stacked donut/pie chart that visualized nested count data (e.g. a sample description with two relevant categories, like favorite ice cream and gender) and wondered how I'd do that in #rstats.
So, if you ever want to make a plot like this, here's the #ggplot2 and #dplyr code: https://gist.github.com/Kudusch/577b6f07c686a64a3aace685fd9f3bee
This wouldn't work well with too many categories and pie charts in general aren't optimal, but for this specific kind/shape of data, I think it works well enough.
-
Hey #RStats hivemind, can someone sanity check me?
for some reason filtering with a value assigned to 'x' isn't working here (I was trying to make a dummy dataset for an lapply + ggplot problem I'm having, and instrad have bumped into this weird inconcistency).
df <- data.frame(name = c("delta^13*C", "delta^13*C", "delta^18*O", "delta^18*O"),
x = c(1,1, 2, 2),
y = c(1,3, 5, 4))x <- "delta^13*C"
df %>%
filter(name == x)
# [1] name x y
# <0 rows> (or 0-length row.names)
df %>%
filter(name == "delta^13*C")# name x y
# delta^13*C 1 1
# delta^13*C 1 3