Category Archives: R

R Markdown

I was toying with the idea of moving to LaTex for word processing needs.  This post Markdown or LaTeX from Yihui Xie provides enlightenment on the subject. My challenge is that customers still demand documents to be in Microsoft Word. … Continue reading

Posted in Markdown, R, Uncategorized | Leave a comment

Late to the party: Str and Summary function in R

I admit I am very late to the party with these functions but after dealing with enough messy data sets they are now required before any analysis. These functions will help you understand the underlying structure of your data sets. … Continue reading

Posted in Data Cleaning, data quality., R, Uncategorized | Tagged , | Leave a comment

Predicting values based on Linear Model

.knitr.inline { background-color: #f7f7f7; border:solid 1px #B0B0B0; } .error { font-weight: bold; color: #FF0000; }, .warning { font-weight: bold; } .message { font-style: italic; } .source, .output, .warning, .error, .message { padding: 0em 1em; border:solid 1px #F7F7F7; } .source { … Continue reading

Posted in Linear Models, Predict, R | Leave a comment

Here is what I learned from the Dataviz Challenge #2

Here is what I learned from taking part in the  Dataviz Challenge #2  1. Customizing colors. I learned how to  use a color picker to identify colors being used in the example  chart and apply in R.  Resource: R color picker … Continue reading

Posted in barplot, Dataviz Challenge #2, R | Leave a comment

Boxplots and Exploratory Graphs

One key aspect to a data analysis is  creating exploratory graphs. This point was emphasized in the Data Analysis course I took from Jeff Leek and I have found it beneficial in my work. According to Leek, the purpose of an … Continue reading

Posted in Boxplots, Exploratory Graphs, R | Leave a comment

Converting Integer Variable to Numeric Variable in R

Working with MLB Player Stats in R, I got stuck plotting and summarizing the runs scored variable.  I needed to convert the Runs variable from Integer to Numeric. Again I thought this was going to be challenging but it was … Continue reading

Posted in Data Cleaning, R | Leave a comment