Blog Archives

Get the Office Quotes in R with the dundermifflin Package

March 24, 2019
By
Get the Office Quotes in R with the dundermifflin Package

Introduction I am happy to share a fun project I put together this weekend - a new R package called dundermifflin. If you can’t guess from the name, it will give you quotes from the Office whenever you want! This package was inspired by the goodshirt package, which gives users quotes from The Good Place, I was able to great...

Read more »

Using Scoped dplyr verbs

March 18, 2019
By

Introduction Over the past several months, I have really started to increase the amount that I have been using scoped dplyr verbs. For those of you who don’t know about these functions, they are handy variants to the normal dplyr verbs, such as filter, mutate, and summarize, that allow you to target multiple columns or all of your columns. These...

Read more »

Calculating quantiles for groups with dplyr::summarize and purrr::partial

September 30, 2018
By

Recently, I was trying to calculate the percentiles of a set of variables within a data set grouped by another variable. However, I quickly ran into the realization that this is not very straight forward when using dplyr’s summarize. Before I demonstrate, let’s load the libraries that we will need. library(dplyr) library(purrr) If you don’t believe me when I say that it...

Read more »

Tracking Joey Wendle’s rookie season with gganimate

September 5, 2018
By
Tracking Joey Wendle’s rookie season with gganimate

Introduction This past weekend I got the chance to go to the Tampa Bay Rays vs Cleveland Indians game. This game was a ton of fun, made even more exciting for me - and by the end of the game, the people in my section - because my brother-in-law’s brother (does that make him my brother-in-law too? No one ever...

Read more »

Add RStudio Community to your blogs social links – Blackburn Theme

August 23, 2018
By
Add RStudio Community to your blogs social links – Blackburn Theme

Introduction Recently, I switched themes for my blog to the blackburn theme and I love it! Luckily, the blogdown package makes this super easy to do within R! If you haven’t used blogdown, I highly recommend you take a look at it for setting up your blog. One of the nice features of the blackburn theme, is that it provides...

Read more »

Create a dynamic number of UI elements in Shiny with purrr

August 9, 2018
By
Create a dynamic number of UI elements in Shiny with purrr

Introduction purrr is an incredibly powerful package that has greatly enhanced my R programming abilities. purrr has applications in pretty much any situation. One of the most useful situations, IMHO, is in the creation of a dynamic number of shiny UI elements. This can be extremely useful if you want to be able to create a dynamic number of ui...

Read more »

Using global input values inside of R Shiny modules

July 19, 2018
By
Using global input values inside of R Shiny modules

Introduction This week, I have been working on a new shiny app. This app allows for similar figures to be rendered based on which summary statistic the user is interested in. There are four different figure types for the user to choose from, each of which are placed into their own tabPanel. This means copying the server code used to...

Read more »

Subsetting Phylogenetic Trees

June 18, 2018
By
Subsetting Phylogenetic Trees

Introduction In the past few months, I have been introduced to and started working with phylogenetic trees. The trees I have been working with contain the entire tree of life for bacteria. Needless to say, they are huge. At first, I was told that I could download a program that would let me view the tree and search for particular...

Read more »

Search R-bloggers

Sponsors

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)