background preloader

Jmurali

Facebook Twitter

J. Murali

Twitter

Statistics. Sab-R-metrics: Subsetting, Conditional Statements, 'tapply()', and VERY simple 'for loops' In my last sab-R-metrics post, I went over some basics of calling data and creating vectors or new data from those.

sab-R-metrics: Subsetting, Conditional Statements, 'tapply()', and VERY simple 'for loops'

Here, I want to extend that to full subsets of data and go on to use some of the basic functions in R so that we can begin plotting in the next tutorial. Before I begin, I want to first give a data example that you can all follow along exactly. Since Blogger isn't very helpful with uploading things to this page, I'll refer you to this link and Joe Lefkowitz's Pitch F/X tool (the best one on the web if you're interested in doing your own analysis).

The link directs you to data for Albert Pujols. The first thing you should do is click on the button that says "Download Excel File". An Introduction to R. Table of Contents This is an introduction to R (“GNU S”), a language and environment for statistical computing and graphics.

An Introduction to R

R is similar to the award-winning1 S system, which was developed at Bell Laboratories by John Chambers et al. It provides a wide variety of statistical and graphical techniques (linear and nonlinear modelling, statistical tests, time series analysis, classification, clustering, ...). This manual provides information on data types, programming elements, statistical modelling and graphics.

Pearltrees videos

Help.