Tag Archives: R

Random Walks In R [Computing]

by | June 6, 2017

Hi there. I have made a recent page where I work with plotting random walks in the statistical programming language R. The page can be found here. Another related page is a detailed page on the random walk. The featured image is from https://www.r-bloggers.com/wp-content/uploads/2010/12/cointoss.png.

A Good Resource For Understanding Regular Expressions In R [Computing]

by | May 26, 2017

Hi.  I have been doing some work with strings in R and needed some understanding of regular expressions in order for replacing/removing certain characters in strings. This page is a good resource for understanding regular expressions in R. Just thought I’d share this to those who are interested. The featured image is from https://www.r-project.org/Rlogo.png.

New Page – Using The K-Means Algorithm In R To Cluster Data

by | May 24, 2017

Hi there. I have made a new page on using the K-Means algorithm to cluster data in the statistical programming language R. This page can be found here. The featured image is one of the outputs after assigning clusters to the data points.

Kaplan-Meier Survival Curves In R With ggplot2

by | May 19, 2017

Hi there. I have been self-learning/reviewing some statistics and R topics as of late. Through experimentation and trial and error, I have made Kaplan-Meier survival curves in R with the ggplot2 package. Kaplan-Meier survival curve plots are used to model time to event data between groups. In one of the plots generated in R (see… Read more »

An Online Quiz For Testing Your Knowledge And Skills In R

by | May 14, 2017

Hi. I have been taking this online quiz which tests your skills and knowledge in the statistical programming language R. Trivia and memorization is not my strong suit so this quiz does help with memory and problem solving. I have learned a few new things on R from the quiz. This quiz can be found… Read more »

Producing Correlation Plots In R

by | May 12, 2017

Hi. I have made a recent page on producing correlation plots in the statistical programming language R. You can find the page here. Through trial and error I have used the packages ggplot2 and corrplot to create various correlation plots. Correlation measures are used to assessing the relationship and strengths between two variables. One example… Read more »

The melt() Function In R And Its reshape2() Package

by | May 10, 2017

Hi there. I have made a recent page about me playing around with the melt() function from the reshape2() package in R. This melt() function is a neat tool in converting wide formatted data into long formatted data. This long formatted data in R can be used for data analysis and for plotting. The page… Read more »

Analyzing A Babynames Dataset In R Part Two [Computing]

by | May 6, 2017

Hi there. A while back I analyzed a babynames dataset on the most popular babynames using R’s data.table package. The page can be found here. In part two, I analyze this same babynames dataset but with a graphical approach. I created sideways bar graphs with the most popular babyname on the top. I ended up… Read more »

Using R And ggplot2 To Create Normal Distribution Plots

by | May 4, 2017

Hi there. I have made a recent page on creating normal distribution plots using R and its ggplot2 package. With R and ggplot2 you can create nice plots such as the one below (featured image). The page can be found here.