Monthly Archives: November 2016

Create, Interpret, and Use a Linear Regression Model in R

November 29, 2016
By
Create, Interpret, and Use a Linear Regression Model in R

In my last post, we looked at how to create a correlation matrix in R. Specifically, we used data pulled from the web to see which variables were most highly correlated with an automobile’s fuel economy. Suppose, however, that we are trying to guess the fuel economy of a new car without actually having driven

Read more »

Examine a Data Frame in R with 7 Basic Functions

November 29, 2016
By
Examine a Data Frame in R with 7 Basic Functions

When I first started learning R, it seemed way more complicated than what I was used to with looking at spreadsheets in Microsoft Excel. When I started working with data frames in R, it didn’t seem quite as easy to know what I was looking at. I’ve since come to see the light. While there is

Read more »

5 Ways to Subset a Data Frame in R

November 29, 2016
By
5 Ways to Subset a Data Frame in R

Often, when you’re working with a large data set, you will only be interested in a small portion of it for your particular analysis. So, how do you sort through all the extraneous variables and observations and extract only those you need? Well, R has several ways of doing this in a process it calls

Read more »

Nesting Functions in R with the Piping Operator

November 29, 2016
By
Nesting Functions in R with the Piping Operator

One of the most useful (and most popular) applications in R are the functions available in the dplyr package. With functions like select, filter, arrange, and mutate, you can restructure a data set to get it looking just the way you want it. The problem is that doing so can take multiple steps. As a

Read more »

Repeated measures ANOVA in R Exercises

November 29, 2016
By
Repeated measures ANOVA in R Exercises

One way, two way and n way ANOVA are used to test difference in means when we have one, two and n factor variables. A key assumption when performing these ANOVAs is that the measurements are independent. When we have repeated measures this assumption is violated, so we have to use repeated measures ANOVA. Repeated

Read more »

The Hitchhiker’s Guide to Ggplot2 in R

November 29, 2016
By
The Hitchhiker’s Guide to Ggplot2 in R

About the book This is a technical book. The scope of the book is to go straight to the point and the writing style is similar to a recipe with detailed instructions. It is assumed that you know the basics of R and that you want to learn how to c...

Read more »

DataChats: An interview with Garrett Grolemund

November 29, 2016
By
DataChats: An interview with Garrett Grolemund

Hey R fans! We've just released a new episode of DataCamp's DataChats video series. Our first episode with Max Kuhn has already been watched over 700 times and this new episode promises to be a blockbuster as well.  In this second episode we inte...

Read more »

A new `subprocess` package for R

November 29, 2016
By
A new `subprocess` package for R

Here’s a new package that brings to R new API to handle child processes – similar to how Python handles them. Unlike the already available system() and system2() calls from the base package or the mclapply() function from the parallel package, this new API is aimed at handling long-lived child processes that can be controlled by the parent R process in a … More A new...

Read more »

Working at RStudio

November 28, 2016
By
Working at RStudio

...

Read more »

Seasonal Analysis in EGRET

November 28, 2016
By
Seasonal Analysis in EGRET

Introduction This document describes how to obtain seasonal information from the R package EGRET - Exploration and Graphics for RivEr Trends: An R-package for the analysis of long-term changes in water quality and streamflow, including the water-quality method Weighted Regressions on Time, Discharge, and Season (WRTDS) For example, we might want to know the fraction of the load that takes place...

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)