I’m excited to meet this cohort of scientists committed to learning R. I’m especially looking forward to the diverse research interests this group will bring and seeing how participants use R to solve real-world problems in lifestyle and brain health research. #RStats
Are you an early-career scientist working in lifestyle and brain health research? Learning R has helped me build practical, career-advancing programming skills that have strengthened my research. I'm leading a small group through the R for Data Science and Advanced R books this summer. Come join us!
A development milestone that I'm proud to share is that we've now generated over 200 research disclosure reports for individuals with Down syndrome and their families! Each report is automatically generated through an R package (with Quarto) I've been developing over the past few years. #RStats
We've heard from participants that receiving their results is a motivator for joining a study. The challenge was developing a process that could return results quickly while minimizing staff burden, integrating data from multiple systems, and remaining flexible to support multiple research studies.
The full code connects to a database via API, retrieving only the variables needed by parsing the equations from a csv file. It then either returns the data to R or writes it to an xlsx file — organized by cognitive test or site — to help address any incorrect values.
Recently had a great experience using {rlang} in #RStats. I had over 50 equations for scoring cognitive tests that needed checking across hundreds of participants. Instead of writing checks for each one, parse_expr + eval_tidy let me map through equations and flag discrepancies. A simple example:
Dreaming of a #Shiny app that turns report building into an interactive experience. Imagine being able to choose variables interactively, apply custom filters, edit variable labels, and then render the tables in a #Quarto report. #RStats
Brian Helsel
Brian Helsel
Counting as high as you can in 10 seconds:
Me: 41
R: 1,152,791
C++: 448,971,124
Same task. Very different speeds. Programming is fun. #RStats
Are you an early-career scientist working in lifestyle and brain health research? Learning R has helped me build practical, career-advancing programming skills that have strengthened my research. I'm leading a small group through the R for Data Science and Advanced R books this summer. Come join us!
Brian Helsel
Brian Helsel
Brian Helsel
Brian Helsel
Brian Helsel
Brian Helsel
I’ve been experimenting with embedding a Shiny app directly inside my Quarto presentations. Instead of moving through static slides, the audience can now actively engage with data in real time. It changes the dynamic from “here’s what I found” to “let’s explore this together.” #RStats #Quarto
Brian Helsel
Brian Helsel
In case you ever wondered about the differences between magrittr pipe and base pipe 🤔
This table is taken from a great stackoverflow answer by @GeorgKindermann
https://stackoverflow.com/questions/67633022/what-are-the-differences-between-rs-native-pipe-and-the-magrittr-pipe
#rstats #dataviz #phd