首页 > IT职业 > IT图书 > union(并),setdiff(差),intersect(交)R语言
setdiff(x=1:4, y=2:3)[1] 1 4
intersect(x=c("abc", "bcd"),
y = c("abc", 12, "Apple"))
[1] "abc"
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3088/viewspace-2804327/ ,如需转载,请注明出处,否则将追究法律责任。
注册时间:2019-08-13