Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • set the working directory using setwd and read the dataset into R and assign it the variable sim.alspac using the read.csv function
  • Look up the colnames function in the help file and apply it to sim.alspac to list all the column headings in the data.
  • Look up the dims dim function in the help file and apply it to to sim.alspac to get the dimensions of the dataset.  Number of columns is the number of variables, number of rows is the number of participants. 

...