Articles by Kenith Grey

MailR SMTP Setup (Gmail, Outlook, Yahoo) | STARTTLS

April 13, 2019 | Kenith Grey

The mailR package allows you to easily send e-mails with R, but you need the right mailR SMTP settings. Getting the SMTP settings just right to establish a connection to e-mail hosts like Gmail, Outlook, or Yahoo can be challenging. This is especially true when there are some settings you ... [Read more...]

Learning and Teaching R | Get to the Plot

April 8, 2019 | Kenith Grey

As an experienced R user, I have seen numerous social media posts and perhaps even a few stackexchange requests over the years asking the question, “how do I learn R?”. This is a great question. A related one is, “how do I teach or coach R?” To the would-be student, ... [Read more...]

Super Dark IDE Theme, R-Studio, Inverted Color

March 27, 2019 | Kenith Grey

A dark IDE theme may increase visual comfort and productivity for those spending extended amounts of time coding, writing, and reading at a computer terminal. Why? If your 9 to 5 has you chained to a computer, you’ve likely experienced eye strain. Typical symptoms include soreness, irritation, and difficulty focusing your ...
[Read more...]

XmR Chart | Step-by-Step Guide by Hand and with R

January 12, 2019 | Kenith Grey

Is your process in control? The XmR chart is a great statistical process control (SPC) tool that can help you answer this question, reduce waste, and increase productivity. We'll cover the concepts behind XmR charting and explain the XmR control constant with some super simple R code. Lastly, we'll cover ... [Read more...]

ggQC | ggplot Quality Control Charts – New Release

December 4, 2018 | Kenith Grey

The ggQC package is a quality control extension for ggplot. Use it to create XmR, XbarR, C and many other highly customizable Control Charts. Additional statistical process control functions include Shewart violation checks as well as capability analysis. If your process is running smoothly, visualize the potential impacted of your ... [Read more...]

Windows Clipboard Access with R

November 13, 2018 | Kenith Grey

The windows clipboard is a quick way to get data in and out of R. How can we exploit this feature to accomplish our basic data exploration needs and when might its use be inappropriate? Read on. Overview Paste Data from Clipboard to R HTML Tables Spreadsheets Copy Data from ... [Read more...]

Source and List: Organizing R Shiny Apps

November 6, 2018 | Kenith Grey

Keeping R Shiny code organized can be a challenge. One method to organize your Shiny UI and Server code is to use a combination of R’s list and source functions. Another method to organize you’re Shiny code is through modularization techniques. Here though, we’re going concentrate on ... [Read more...]

Estimating Control Chart Constants with R

October 16, 2018 | Kenith Grey

In this post, I will show you how a very basic R code can be used to estimate quality control constants needed to construct X-Individuals, X-Bar, and R-Bar charts. The value of this approach is that it gives you a mechanical sense of where these constants come from and some ... [Read more...]

Infamous Inf – Part II

December 3, 2017 | Kenith Grey

R’s Inf keyword – Have you’ve ever wondered what to do with it? If so, this is the second in series of posts that explore how we can exploit the keyword’s interesting properties to get the answers we need and improve code robustness. If you want to catch ... [Read more...]

Infamous Inf – Part I

September 26, 2017 | Kenith Grey

R’s Inf keyword – Have you’ve ever wondered what to do with it? If so, this is the first in series of posts that explore how we can exploit the keyword’s interesting properties to get the answers we need and improve code robustness. For those unfamiliar with R’... [Read more...]

Control Charts with ggQC: XmR

July 19, 2017 | Kenith Grey

Preparing an XmR plot is common when dealing with processes where a single product/item is made or measured and there is a significant time gap between the next production or observation. XmR plots can also be useful when dealing with outputs from a batch process rather than a continuous ... [Read more...]

Control Charts with ggQC: XbarR

May 12, 2017 | Kenith Grey

XbarR charts are useful when monitoring a continuous process over time and your taking multiple samples in a given period. Some examples might include, the first, middle, and last parts coming off an assembly line, subgroups of molded parts produced several at a time over several cycles, batch uniformity of ... [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)