Articles by Brenden Smith

Dealing with Windows File Paths in R

October 30, 2024 | Brenden Smith

Recently, I started a new position that requires me to use a Windows computer (I miss my MacBook Air dearly). This has led me to learn about the subtle differences when using R on different operating systems. If you are like me, you probably wor...
[Read more...]

CDCPLACES 1.1.8: 2024 Release

August 11, 2024 | Brenden Smith

This is part of the CDCPLACES blog series. To view the other posts in this series click here. Introduction This brief blog post explains the new additions to CDCPLACES 1.1.8. This update provides a few new features: Updated 2024 release data, ...
[Read more...]

Interactive Map Filter in Shiny

June 25, 2024 | Brenden Smith

Introduction Recently, I participated in Posit’s 2024 Table Contest. For my submission, which you can view here, I included a leaflet map that acts as a filter in Shiny. This is a cool, dashboard-like feature similar to what you might find in P... [Read more...]

I Made R Text For Me

March 22, 2024 | Brenden Smith

Introduction Up front, I have problems with procrastination. The last few years in graduate school have made me prioritize certain things MUCH better. However, in my personal life, I still struggle. I continue to put off things that I would rat... [Read more...]

What’s New in CDCPLACES 1.1.5

March 18, 2024 | Brenden Smith

An earlier version of this blog post was published on February 6, 2024 and described the new features in the development version of this package. This update shows all of the new features of the package as of March 16, 2024. Introduction CDCPLA...
[Read more...]

Introducing the CDCPLACES Package

January 9, 2024 | Brenden Smith

This post was updated on March 19, 2024 to reflect updates introduced in CDCPLACES 1.1.5. Introduction To begin, we can install from CRAN, or from github, then load our packages. Code # Install from CRAN # install.packages("CDCPLACES) # Inst...
[Read more...]

Intro to Bash Scripting

November 14, 2023 | Brenden Smith

And I thought R gave me super powers… Introduction Recently, I’ve been having fun with Linux. I really didn’t know much about Linux or how it was different from MacOS or Windows. All I really knew was that very smart people use it and many comp... [Read more...]

Survival Analysis in R

October 23, 2023 | Brenden Smith

At first I was afraid, I was petrified… Introduction In this blog post, I’ll be exploring some basic survival analysis in R. Survival analysis focuses on describing the occurrence of an event (in this example death) in a set time frame. Surviva...
[Read more...]

HM878: Helper Functions

October 11, 2023 | Brenden Smith

Introduction This vignette demonstrates how to use the functions included in this package so far. If you have not yet, install the package with the following code: devtools::install_github("brendensm/hm878"). If you do not have the package devt... [Read more...]

Twitter Bots

February 28, 2023 | Brenden Smith

Update: Since a certain someone took over the bird app, this bot is no longer functional. Unfortunately, it is not worth paying $100/month to post random shades of blue. What an injustice. Introduction Blue is a color that moves me. I love how m... [Read more...]

Michigan COVID-19 County Maps

October 10, 2022 | Brenden Smith

Introduction This post is intended to demonstrate some basic ways to map data in R. For our example, we will be creating a choropleth map of Michigan’s counties featuring COVID-19 data. The result is something quite similar to the map featured on the state’s dashboard. The data used ... [Read more...]

Opioid Plotting Practice

October 8, 2022 | Brenden Smith

Introduction Over the summer, I took a course on public health surveillance. As a culminating project, we were tasked with creating original data visualizations for a fact sheet on a topic of our choosing. I chose to examine local opioid overdose and mortality data for my project. This is a ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)