Learn a little R… don’t mind if I do.
R Tutorial: A Simple Script to Create and Analyze a Data File, Part One
By D.M. Wiig
In this tutorial I will walk you through a simple script that will show you how to create a data file and perform some simple statistical procedures on the file. I will break the code into segments and discuss what each segment does. Before starting this tutorial make sure you have a terminal window open and open R from the command line.
The first task is to create a simple data file. Let’s assume that we have some data from 10 individuals measuring each person’s height and weight. The data is shown below:
View original post 459 more words