wang minjie

@wangmj
5 Followers
24 Following
6 Posts

A successful #JSM2025 presentation! Feels so good to nerd out about ggplot in public again 😄

https://yjunechoe.github.io/static/slides/JSM2025.pdf

Generative calligraphy with random walks, smoothing splines and aesthetic mapping in R.

See also: https://mastodon.social/@safest_integer/114329996541737881

```
library(tidyverse)
n = 20
x = cumsum(rnorm(n))
y = runif(n)
xx = predict(smooth.spline(x, spar=.005), seq(1, n, .01))$y
yy = predict(smooth.spline(y, spar=.005), seq(1, n, .01))$y
ggplot(tibble(x=xx,y=yy)) +
geom_path(aes(x=x, y=y, lwd=-c(0,diff(y))), show.legend=FALSE) +
theme_void()
```

#rstats #rtistry #generativeart #tidyverse #art

Did the Delhi Metro🚇lead to a rise in population density around stations? It connects already densely populated areas rather than driving new growth. 📊
Data: CIESIN @openstreetmap
Full Code: https://tinyurl.com/del-pop-metro
#DataVisualization with #rstats; #DelhiMetro #UrbanPlanning
What percentage of population lives near a metro station? – Data Viz Collective

In Stan, “~” should be called a “distribution statement,” not a “sampling statement.” https://statmodeling.stat.columbia.edu/2024/06/19/in-stan-should-be-called-a-distribution-statement-not-a-sampling-statement/
I want to reproduce a paper in classroom as an exercise for the lavaan package. Where can I find a paper on structural equation modeling where the author shared the original data? If you could provide one, thank you very much
#tidyverse
#ggplot2
#lavaan
#sem
#Rstats