by David Lillis, Ph.D.
In Part 1 we installed R and used it to create a variable and summarize it using a few simple commands. Today let’s re-create that variable and also create a second variable, and see what we can do with them.
As before, we take height to be a variable that describes the heights (in cm) of ten people. Type the following code to the R command line to create this variable.
height = c(176, 154, 138, 196, 132, 176, 181, 169, 150, 175)
Now let’s take weight to be a variable that describes the weights (in kg) of
[Read more...] about R is Not So Hard! A Tutorial, Part 2: Variable Creation