x <- 3 #x=3
x## [1] 3
y <- 17 #y=17
y## [1] 17
NewNumber <- x*3 #Because <- assigns a value and x is defined, NewNumber becomes defined as x*3
NewNumber## [1] 9
ModelOne <- y*7 #Same as above except ModelOne because defined as y*7
ModelOne## [1] 119
x <- c(3,6,10) #This function assigns x to the values of 3, 6, and 10.
x## [1] 3 6 10
y <- c(5,10,15) #This function assigns y to the values of 5, 10 and 15
y## [1] 5 10 15
VectorX <- x*4 #This multiples the values in x by four and assigns those numbers to the object "VectorX"
VectorX## [1] 12 24 40
VectorY <- y*3 #This multiples the values in y by 3 and then assigns those numbers to the object "VectorY"
VectorY## [1] 15 30 45