R Works
banner
rworks.bsky.social
R Works
@rworks.bsky.social
rworks.dev #rstats community blog, edited by @RevoJoe & @ivelasq3
Reposted by R Works
I wrote a lil post on the amazing work that
@ginareynolds.bsky.social does championing ggplot2 extension developers and teaching others to build their own!

The post features the Scrollytelling Quarto extension and the group's cute #RStats hex 🐱:

rworks.dev/posts/ggplot...
An Introduction to Writing Your Own ggplot2 Geoms – R Works
The ggextenders club provides inspiration and resources for those venturing into the exciting world of creating custom ggplot2 extensions.
rworks.dev
November 3, 2025 at 3:22 PM
It's time for the Top 40 New #RStats Packages on CRAN for September 2025!

Learn about new packages for data, statistics, finance, and more. These great packages come complete with great documentation, images, references.

Read the post: rworks.dev/posts/septem...
September 2025 Top 40 New CRAN Packages – R Works
Here are my picks of the best of the two hundred forty new packages that landed on CRAN in September, organized into thirteen categories: Computational Methods, Data, Decision Analysis, Ecology, Epide...
rworks.dev
October 29, 2025 at 2:28 PM
Be Mindful of the Time: Estimating a Continuous-Time Markov Chain from Incomplete Data

In his latest post, @revojoe.bsky.social shows how data can implicitly define time scales and why that matters when modeling real-world processes. #RStats

Read here: rworks.dev/posts/5-stat...
Be Mindful of the Time – R Works
In a previous post, A Simple Bayesian Multi-state Survival Model for a Clinical Trial, I described a textbook example comparing the effectiveness of asthma treatments by fitting a discrete-time Markov...
rworks.dev
October 23, 2025 at 7:10 PM
August 2025's Top 40 picks are out, highlighting excellent #RStats packages from Differential Privacy to Toxicology to Causal Inference.

This marks 1 year of Top 40 posts since we started R Works! 🎉

Check out the post here: rworks.dev/posts/august...
August 2025 Top 40 New CRAN Packages – R Works
Here are my picks for the best from the ninety-seven new packages that landed on CRAN in August, organized in eighteen categories: Causal Inference, Data, Differential Privacy, Ecology, Environmental ...
rworks.dev
September 29, 2025 at 9:53 PM
The July 2025 Top 40 New CRAN #RStats Packages blog post is now out!

Check out great picks from @revojoe.bsky.social in 13 categories, including Causal Inference, Ecology, Mathematics, Medical Statistics, Pharma, Statistics, and Visualization.

rworks.dev/posts/july-2...
July 2025 Top 40 New CRAN Packages – R Works
The CRAN new package Top 40 - Here are my picks for the best new packages to land on CRAN in July, organized in thirteen categories: Causal Inference, Computational Methods, Data, Ecology, Epidemiolog...
rworks.dev
August 28, 2025 at 1:27 PM
On the R Works blog, @ivelasq3.bsky.social shares a short blog post on getting started with the ANES 2024 data in #RStats!

rworks.dev/posts/anes20...
ANES 2024 is Out! How to Analyze the Data with R – R Works
Explore the newly released ANES 2024 survey data in R with {survey} and {srvyr}.
rworks.dev
August 21, 2025 at 2:47 PM
This month's Top 40 New CRAN packages includes ... some really awesome visualizations!

Check out @revojoe.bsky.social's picks in 21 categories, including AI, chess, epidemiology, music theory, and more.

Blog post: rworks.dev/posts/june-2...

#RStats
August 1, 2025 at 2:43 AM
In our latest post, Vidisha Vachharajani discusses the fundamental driver of successful AI agent use: prompting, or instructing an #LLM to perform a task with input text.

See how to go from vague directions to specific #RStats guidance in #RStudio using GitHub Copilot.

rworks.dev/posts/health...
Health Technology notes: Copilot tips and guidance – R Works
In this post, we walk the reader through the fundamental driver of successfully using AI agents – prompting. Prompting is the method of instructing an LLM to perform a task by carefully designing an i...
rworks.dev
July 30, 2025 at 11:37 PM
Vidisha Vachharajani continues the "Tidyverse with GitHub Copilot for Healthcare Analytics" series!

Part 2 evaluates the effectiveness of healthcare delivery and impact of patient-level variables on downstream outcomes while exploring the #RStats + AI!

Read the post: rworks.dev/posts/health...
Tidyverse with GitHub Copilot for Healthcare Analytics – Part 2 – R Works
In this second installment, we analyze a complex dataset of diabetes patient encounters with 100,000+ rows and over 50 columns and dive deeper to evaluate the effectiveness of healthcare delivery and ...
rworks.dev
July 23, 2025 at 11:13 PM
May was a big month for #RStats! 186 new packages landed on CRAN.

We've got the top 40 highlighted on R Works, featuring an image from the GencoDymo2 package (human and mouse genomes!).

Check it out here: rworks.dev/posts/may-20...
May 2025 Top 40 New CRAN Packages – R Works
An attempt to capture the depth and breadth of what’s new on CRAN. - One Hundred seventy-six new packages made it to CRAN in May. Here are my Top 40 picks in eighteen categories: Climate Science, Comp...
rworks.dev
June 30, 2025 at 2:53 PM
Markov Chains can model patient outcomes. This post walks through calculating transition probabilities and using absorbing states to estimate long-term health outcomes in #RStats.

rworks.dev/posts/simple...
A Simple Bayesian Multi-state Survival Model for a Clinical Trial – R Works
This post shows how to use the elementary theory of discrete time Markov Chains to construct a multi-state model of patients progressing through various health states in a randomized clinical trial co...
rworks.dev
June 25, 2025 at 6:13 PM
Using GitHub Copilot to analyze complex healthcare datasets comes with opportunities and challenges.

Vidisha Vachharajani walks through an example and shares reflections in our latest blog post: rworks.dev/posts/health...

#RStats
Tidyverse with GitHub Copilot for Healthcare Analytics – Part 1 – R Works
In this post, the first in a series of two focused on healthcare applications, I will introduce a complex healthcare data set and outline the problems I propose to solve using tidyverse and GitHub Cop...
rworks.dev
June 4, 2025 at 9:44 PM
We're delighted by the depth and breadth of #RStats packages released in CRAN!

@revojoe.bsky.social shares April's Top 40 picks, including Olajoke Oladipo's cheetahR for super-fast table gen and Russ Conte's ClassificationEnsembles for building classification models.

rworks.dev/posts/april-...
April 2025 Top 40 New CRAN Packages – R Works
An attempt to capture the depth and breadth of what’s new on CRAN. Here are my Top 40 picks in twenty-two categories: Archaeology, Artificial Intelligence, Biology, Chemistry, Climate Science, Data, E...
rworks.dev
May 29, 2025 at 2:08 PM
In a previous post, we presented an #RStats rjags version of a Bayesian model from Evidence Synthesis for Decision Making in Healthcare by Welton et al.

This second post explores cost-effectiveness frameworks in healthcare using deterministic and stochastic models.

rworks.dev/posts/ESDM-2/
Cost-Effectiveness Analysis – R Works
In a previous post, we presented an rjags version of a Bayesian model from the textbook: Evidence Synthesis for Decision Making in Healthcare by Welton et al. (2012). This post continues the work of p...
rworks.dev
May 20, 2025 at 2:51 PM
Thanks for the shoutout, @bsky.chrisbrownlie.com!
May 9, 2025 at 1:38 PM
Thinking about using VS Code for integrating both #RStats and #Python in your code?

John Mark Agosta shares some considerations in our latest blog post: rworks.dev/posts/r-pyth...
A Data Scientist’s View of Running R in Visual Studio Code – R Works
VS Code is a popular, customizable coding environment excellent for working with multiple languages. As a data scientist, its R <-> Python integration deserves careful consideration.
rworks.dev
May 8, 2025 at 6:06 PM
Thank you for the shout out on the R Weekly podcast ❤️

@rpodcast.bsky.social and @mike-thomas.bsky.social are always a great listen, and appreciate you @batoolmm.bsky.social for highlighting the Top 40 Packages post!

Check out the other great highlights this week: rweekly.org

#RStats
May 8, 2025 at 12:33 AM
In March, 182 new packages made it to CRAN.

Here are @revojoe.bsky.social's Top 40 picks in 16 categories, including agriculture, archaeology, biology, epidemiology, and more!

rworks.dev/posts/march-...

#RStats
March 2025 Top 40 New CRAN Packages – R Works
An attempt to capture the depth and breadth of what’s new on CRAN: here are my Top 40 picks in sixteen categories: Agriculture, Archaeology, Biology, Climate Modeling, Computational Methods, Data, Eco...
rworks.dev
April 30, 2025 at 8:45 PM
Fall down an ARIMA model rabbit hole with @revojoe.bsky.social and explore a time series where forecast::auto.arima() and fable::ARIMA() chose very different models but gave nearly identical forecasts.

A good case study in identifiability! #RStats

rworks.dev/posts/arima-...
Down a Rabbit Hole with ARIMA Models – R Works
This post describes a chance encounter with a time series data set for which the forecast and fable packages found different ARIMA models that don’t look much alike, but produce surprisingly close for...
rworks.dev
April 14, 2025 at 1:46 PM
In February, one hundred fifty-nine new #RStats packages made it to CRAN.

Check out @revojoe.bsky.social's top picks, including two in a new category, "Weather"!

rworks.dev/posts/februa...
February 2025 Top 40 New CRAN Packages – R Works
An attempt to capture the depth and breadth of what’s new on CRAN: Here are my Top 40 picks in fifteen categories: Artificial Intelligence, Computational Methods, Ecology, Genomics, Health Sciences, M...
rworks.dev
March 31, 2025 at 2:16 PM
How many ways can you color a 2x2 grid of squares?

Vidisha Vachharajani walks through a simplified version of the four color theorem: You paint each square one of four colors, but no two adjacent squares have the same color.

Check out the solution, done with #RStats!

rworks.dev/posts/math-p...
How Many Ways to Color This Grid: Teaching Combinatorics Using R – R Works
A simplified version of the four color theorem: suppose you have a 2x2 grid of squares, and you need to paint each square one of four colors: red, blue, green, or yellow. The restriction is that no tw...
rworks.dev
March 21, 2025 at 2:58 PM
Evidence Synthesis for Decision Making in Healthcare is an exemplary presentation of healthcare decision analysis and Bayesian modeling.

In this blog post, we present a JAGS version of a WinBugs model from the book using the jagsUI and rjags #RStats packages: rworks.dev/posts/eviden...
Evidence Synthesis for Decision Making in Healthcare – R Works
This post presents a JAGS version of a WinBUGS model presented in the classic textbook Evidence Synthesis for Decision Making in Healthcare by Nicky J. Welton, Alexander J. Sutton, Nicola J. Cooper, K...
rworks.dev
March 17, 2025 at 1:11 PM
It's Friday, which means it's time for an #RStats puzzle!

Can you arrange the digits 1 2 3 4 5 6 7 8 9 0 in such order that they form a number that may be divided by every number from 2 to 18 without a remainder?

Nina Zumel walks through it in "Digital Difficulties" 🔢

rworks.dev/posts/digita...
Digital Difficulties – R Works
rworks.dev
March 14, 2025 at 7:09 PM
Reposted by R Works
I am excited to present this Thursday, March 13, at the Bay Area useR meetup about analyzing time series data at scale with cluster analysis methods.

Mariana Menchero, the author of the nixtlar R library from Nixtla, will present about forecasting foundation models using TimeGPT 🚀!

#RStats
March 12, 2025 at 2:32 PM