I wrote this post to give folks in my centre a broad overview of switching from #Stata to #rstats and some examples of code equivalents.
Hopefully it's helpful to others too!
https://benharrap.com/post/2025-01-10-stata-to-r/
Hopefully it's helpful to others too!
https://benharrap.com/post/2025-01-10-stata-to-r/
Comments
Maybe you could use the help files to figure out how you'd do it in Stata then see what ChatGPT suggests as equivalents in R