标签: r
我正在Rstudio中使用R合并两个向量。这两个向量是
Saturday_guests <- c("John","Amy", "Mike")
和
Sunday_guests <- c("Peter", "Adam", "Amy", "John")
我想合并Saturday_guests和Sunday_guests形成 all_guests应该等于c(Peter,Adam,Amy,John,Mike)
Saturday_guests
Sunday_guests
all_guests
c(Peter,Adam,Amy,John,Mike)