Skip to content
Prev 273586 / 398503 Next

Does it exist a function for this?

On 10/05/2011 07:42 PM, lunarossa wrote:
Hi lunarossa,
I may be on the wrong track, but you could just stick the three 
components together:

alphanumfruit[,4]<-paste(alphanumfruit[,1],
  alphanumfruit[,2],alphanumfruit[,3],sep="")

and the fourth column of your object (which I suspect is a data frame) 
will have elements that can be tested for matching or non-matching. More 
complicated conditions can be accommodated by pasting different 
combinations of the columns together.

Jim