2017-07-08 73 views

回答

2

一種選擇是

mapply(function(x, y) toString(setdiff(x, y)), 
     strsplit(as.character(temp$new), ", "), strsplit(as.character(temp$current), ", ")) 
#[1] "cherry, grape" "blueberry"  
相關問題