Posts

CONTINUE READING

Introduction Following up on Rachel Wellford’s tweet about Senate votes for Supreme Court confirmations, I decided to try to graph the data. Below, I have a ggplot picture with decent labeling a searchable datatable a plotly interactive graph The data came from Senate.gov. I chose to focus on 1967 onward because it appeared that voting procedures were slightly different before Thurgood Marshall’s nomination process.

CONTINUE READING

Problem The question that one of my teaching assistants posed was “What is the difference between lm(y ~ x) and lm(y ~ (poly,1)) for linear regression in R?” That is, it is quickly apparent that those commands produce different results, but for the same intention. Here I will try to explore the underlying difference. Disclaimer: I know that the following discussion is incomplete. These are simply notes that I threw together overnight.

CONTINUE READING

Thanks to Dr. Elaine McVey’s course at DataCamp, I feel that I can convert my Data Science course’s lab assignments and slides to flexdashboard. Today, I converted the first lab assignment. The hope is that the students can clearly see the instructions that I am trying to convey rather than facing a wall of text. To convert my lab, which was previously in an R Markdown document for HTML output, I had to

CONTINUE READING

Thanks to Dr. Elaine McVey’s course at DataCamp, I feel that I can convert my Data Science course’s lab assignments and slides to flexdashboard. Today, I converted the first lab assignment. The hope is that the students can clearly see the instructions that I am trying to convey rather than facing a wall of text. To convert my lab, which was previously in an R Markdown document for HTML output, I had to

CONTINUE READING

As a lecturer at UC Merced, each semester I find myself needing to figure out how many days I get to teach. Furthermore, I like to plan out my lecture schedule down to the days themselves. Here I hope to use some R code to quickly figure out (say) which days are on Tuesday or Thursday. Construction In R, the seq command can be used with dates easily. semester_dates <- seq(as.

CONTINUE READING

Let’s see if I can make posts (mostly) through RStudio

CONTINUE READING

Today I am trying to get a blogdown site to work with GitHub pages, but I cannot seem to get the posts to link correctly with relative links.

Well, I hope to delete the pre-included widgets for now since I do not have publications.

CONTINUE READING

Create a beautifully simple personal or academic website in under 10 minutes.

CONTINUE READING

Enable/disable and configure widgets to customize your homepage.

CONTINUE READING