### Search this site

### Top Posts & Pages

- The Popularity of Data Analysis Software
- Forecast Update: Will 2014 be the Beginning of the End for SAS and SPSS?
- Graphics, ggplot2
- Home
- Will 2015 be the Beginning of the End for SAS and SPSS?
- Why R is Hard to Learn
- Selecting Variables and Observations
- Downloads
- R for SAS and SPSS Users
- Specifying Variables in R

### Blogroll

### Blog Stats

- 396,718 hits

### Meta

### Twitter

- @sytpp I'm ready when you are 1 day ago
- Improved way to read SAS files in R by @BioStatMatt biostatmatt.com/archives/2618 #rstats @SASsoftware #statistics #analytics #bigdata 2 days ago
- Tidy up that data with R! jstatsoft.org/v59/i10/paper @hadleywickham #rstats #statistics #analytics #bigdata 2 days ago
- Bayesian analysis keeps getting easier in #rstats thanks to @rabaath sumsar.net/blog/2014/09/b… #statistics 1 week ago
- Adding the SPSS MEAN.n Function to R r4stats.com/2014/09/03/add… @IBMspss #rstats #statistics #analytics #bigdata 1 week ago

# Monthly Archives: September 2012

## Specifying Variables in R

R has several ways to specify which variables to use in an analysis. Some of the most frustrating errors can result from not understanding the order in which R searches for variables. This post demonstrates that order, hopefully smoothing your … Continue reading