You are on page 1of 1

AN introduction to statistical learning(ISLR)

By Gareth, Witten, Hastie and tibshirani


ISLR lab doc
Rnorm(50,2,3) 50 is number of observations, 2 is mean and 3 is standard deviation.
Default is 0 mean and 1 standard deviation.
Byrow true in a matrix means that the numbers we put in a particular sequence will
be put row wise
cor(x,y) gives correlation between x and y
getwd() you will get the directory where your files have been saved
google search ISLR

You might also like