The c function is used to combined data. For example. 1,2,3,4,5 can be combined into a vector by doing the folowing
vector <- c(1,2,3,4,5)
vector
## [1] 1 2 3 4 5
vector2 <- c("a", "b", "c", "d")
vector2
## [1] "a" "b" "c" "d"
vector3 <-c(1, "a", 16, "c")
vector3
## [1] "1" "a" "16" "c"