You are on page 1of 1

Vector

X<-seq(from=1, to=7, by=1)


rep(1:4, times=5)
extracting 3rd element y[4]
matrix(c(1,2,3,4,5,6,7,8,9), nrow=3, byrow=TRUE)
matrix(c(1,2,3,4,5,6,7,8,9), nrow=3, byrow=FALSE)

You might also like