Difference between revisions of "R Analysis"
Line 10: | Line 10: | ||
===Part 1: R basics=== | ===Part 1: R basics=== | ||
What is a data frame? | *What is a data frame? | ||
Single row/single column? | *Single row/single column? | ||
Single variable? | *Single variable? | ||
Creating a new variable from scratch? | *Creating a new variable from scratch? | ||
Creating a new variable based on values of another variable? | *Creating a new variable based on values of another variable? | ||
===Part 2: Organizing your data=== | ===Part 2: Organizing your data=== |
Revision as of 20:45, 23 February 2013
This wiki is designed to help anyone perform statistical analyses on their data using R. It is divided into 3 broad sections: the first section outlines basics of how R deals with data using built in data sets, the second will help you to read in and organize your own data, and the third will help to summarize and run stats on your data and output graphs.
Each section is organized into a series of questions; start from the beginning if you are new to R, otherwise click on a question to go to a detailed answer and/or examples.
To get started, download R for free from the R website
Analyzing data using R
Part 1: R basics
- What is a data frame?
- Single row/single column?
- Single variable?
- Creating a new variable from scratch?
- Creating a new variable based on values of another variable?
Part 2: Organizing your data
This section describes how to load in data files into a data frame, add or drop columns, create a new data frame from a subset of the full data, and generally get your data into the form you need so you can then conduct your analyses.
Part 3: Analyzing your data
This section outlines how to perform descriptive stats, inferential stats, and output graphs once your data frame is organized