September 2018
Beginner
206 pages
4h 27m
English
Herein, we will use rbind() and cbind(), plus their associated data.frame methods, to combine multiple R objects into dataframes. In order to do so, the following steps have to be executed:
one <- 1:15 two <- 16:30 three <- 31:45 four <- 46:60
all1 <- rbind(one, two, three, four) all2 <- cbind(one, two, three, four)
class(all1)
all3 <- rbind.data.frame(one, two, three, four) ...
Read now
Unlock full access