Blog Archives

Keeping rows containing particular strings in R

January 27, 2015
By

I was recently presented with the need to filter out certain rows in my dataset based upon them containing the desired strings. I needed to retain any row that had a "utm_source" and "utm_medium" and "utm_campaign". Each row in my … Continue reading →

Read more »

Summary Function that is compatible with xtable

November 6, 2014
By

If you like to make nice looking documents using Latex, I highly recommend using the 'xtable' package. In most instances, it works quite well for producing a reasonable looking table from an R object. I however recently wanted a LaTeX … Continue reading →

Read more »

Sending Email From R

October 3, 2014
By

When I am am working in Sql Server and need to send an email I use "sp_send_dbmail". So when I am working in R, I didn't know how to send an email. I often use this as notification that a … Continue reading →

Read more »

Unexpected behavior with summary function in R

August 8, 2014
By

I often find myself working with data that includes dates and times. Sometimes I am interested in looking at what happened on on a particular calendar day. I usually avoid dealing with actual datetime formats when working at the day … Continue reading →

Read more »

Assumption Checking – Part I

July 12, 2014
By
Assumption Checking – Part I

Often when working, we are under deadlines to produce results in a reasonable timeframe. Sometimes an analyst may not check his assumptions if he is under a tight deadline. A simple example to illustrate this would be a one sample … Continue reading →

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)